Skip to content

Commit f243299

Browse files
arnaud4de-marchand
andauthored
update 25/11 (#374)
* New translations method-list.md (Spanish) * New translations button_overview.md (Spanish) * New translations picturebutton_overview.md (Spanish) * New translations properties_textandpicture.md (Spanish) * New translations radio_overview.md (Spanish) * New translations commands.md (Spanish) * New translations vp-add-selection.md (Spanish) * New translations vp-cell.md (Spanish) * New translations vp-get-data-context.md (Spanish) * New translations vp-set-data-context.md (Spanish) * New translations vp-set-sheet-options.md (Spanish) * New translations button_overview.md (Spanish) * New translations picturebutton_overview.md (Spanish) * New translations properties_textandpicture.md (Spanish) * New translations radio_overview.md (Spanish) * New translations vp-add-selection.md (Spanish) * New translations vp-get-data-context.md (Spanish) * New translations vp-set-data-context.md (Spanish) * New translations vp-set-sheet-options.md (Spanish) * New translations button_overview.md (Spanish) * New translations picturebutton_overview.md (Spanish) * New translations properties_textandpicture.md (Spanish) * New translations radio_overview.md (Spanish) * New translations commands.md (Spanish) * New translations vp-add-selection.md (Spanish) * New translations vp-get-data-context.md (Spanish) * New translations vp-set-data-context.md (Spanish) * New translations vp-set-sheet-options.md (Spanish) * New translations method-list.md (Japanese) * fixed tables * vp fix * New translations commands.md (Japanese) * New translations vp-add-selection.md (Japanese) * New translations vp-cell.md (Japanese) * New translations vp-get-data-context.md (Japanese) * New translations vp-set-data-context.md (Japanese) * New translations vp-set-sheet-options.md (Japanese) * New translations vp-add-selection.md (Japanese) * New translations vp-get-data-context.md (Japanese) * New translations vp-set-data-context.md (Japanese) * New translations vp-set-sheet-options.md (Japanese) * New translations create-entity-selection.md (Japanese) * New translations outgoingmessageclass.md (Japanese) * New translations outgoingmessageclass.md (Japanese) * New translations commands.md (Japanese) * New translations vp-add-selection.md (Japanese) * New translations vp-get-data-context.md (Japanese) * New translations vp-set-data-context.md (Japanese) * New translations vp-set-sheet-options.md (Japanese) * New translations create-entity-selection.md (Japanese) * New translations backup.md (Portuguese, Brazilian) * New translations geninfo.md (Portuguese, Brazilian) * New translations mandata.md (Portuguese, Brazilian) * New translations backup.md (Portuguese, Brazilian) * New translations classes.md (Portuguese, Brazilian) * New translations geninfo.md (Portuguese, Brazilian) * New translations gettingstarted.md (Portuguese, Brazilian) * New translations httprequests.md (Portuguese, Brazilian) * New translations preemptiveweb.md (Portuguese, Brazilian) * New translations sessions.md (Portuguese, Brazilian) * New translations webserver.md (Portuguese, Brazilian) * New translations tls.md (Portuguese, Brazilian) * New translations backup.md (Portuguese, Brazilian) * New translations geninfo.md (Portuguese, Brazilian) * New translations handling_users_groups.md (Portuguese, Brazilian) * New translations formulas.md (Portuguese, Brazilian) * New translations method-list.md (Portuguese, Brazilian) * New translations gettingstarted.md (Portuguese, Brazilian) * New translations httprequests.md (Portuguese, Brazilian) * New translations preemptiveweb.md (Portuguese, Brazilian) * New translations sessions.md (Portuguese, Brazilian) * New translations webserver.md (Portuguese, Brazilian) * New translations webserverconfig.md (Portuguese, Brazilian) * New translations sessionclass.md (Portuguese, Brazilian) * New translations backup.md (Portuguese, Brazilian) * New translations parameters.md (Portuguese, Brazilian) * New translations encrypt.md (Portuguese, Brazilian) * New translations updates.md (Portuguese, Brazilian) * New translations dsmapping.md (Portuguese, Brazilian) * New translations ordaclasses.md (Portuguese, Brazilian) * New translations remotedatastores.md (Portuguese, Brazilian) * New translations authusers.md (Portuguese, Brazilian) * New translations handling_users_groups.md (Portuguese, Brazilian) * New translations commands.md (Portuguese, Brazilian) * New translations vp-add-selection.md (Portuguese, Brazilian) * New translations vp-cell.md (Portuguese, Brazilian) * New translations vp-export-document.md (Portuguese, Brazilian) * New translations vp-get-data-context.md (Portuguese, Brazilian) * New translations vp-set-allowed-methods.md (Portuguese, Brazilian) * New translations vp-set-custom-functions.md (Portuguese, Brazilian) * New translations vp-set-data-context.md (Portuguese, Brazilian) * New translations vp-set-date-time-value.md (Portuguese, Brazilian) * New translations vp-set-date-value.md (Portuguese, Brazilian) * New translations vp-set-sheet-options.md (Portuguese, Brazilian) * New translations formulas.md (Portuguese, Brazilian) * New translations authentication.md (Portuguese, Brazilian) * New translations preemptiveweb.md (Portuguese, Brazilian) * New translations qodly-studio.md (Portuguese, Brazilian) * New translations webserver.md (Portuguese, Brazilian) * New translations webserverconfig.md (Portuguese, Brazilian) * New translations web.md (Portuguese, Brazilian) * New translations functionclass.md (Portuguese, Brazilian) * New translations sessionclass.md (Portuguese, Brazilian) * New translations backup.md (Portuguese, Brazilian) * New translations classes.md (Portuguese, Brazilian) * New translations parameters.md (Portuguese, Brazilian) * New translations encrypt.md (Portuguese, Brazilian) * New translations bars.md (Portuguese, Brazilian) * New translations sdi.md (Portuguese, Brazilian) * New translations dsmapping.md (Portuguese, Brazilian) * New translations remotedatastores.md (Portuguese, Brazilian) * New translations authusers.md (Portuguese, Brazilian) * New translations handling_users_groups.md (Portuguese, Brazilian) * New translations vp-add-selection.md (Portuguese, Brazilian) * New translations vp-export-document.md (Portuguese, Brazilian) * New translations vp-get-data-context.md (Portuguese, Brazilian) * New translations vp-set-allowed-methods.md (Portuguese, Brazilian) * New translations vp-set-custom-functions.md (Portuguese, Brazilian) * New translations vp-set-data-context.md (Portuguese, Brazilian) * New translations vp-set-date-time-value.md (Portuguese, Brazilian) * New translations vp-set-date-value.md (Portuguese, Brazilian) * New translations vp-set-sheet-options.md (Portuguese, Brazilian) * New translations formulas.md (Portuguese, Brazilian) * New translations authentication.md (Portuguese, Brazilian) * New translations preemptiveweb.md (Portuguese, Brazilian) * New translations qodly-studio.md (Portuguese, Brazilian) * New translations webserver.md (Portuguese, Brazilian) * New translations webserverconfig.md (Portuguese, Brazilian) * New translations web.md (Portuguese, Brazilian) * New translations formula.md (Portuguese, Brazilian) * New translations session.md (Portuguese, Brazilian) * New translations sessionclass.md (Portuguese, Brazilian) * New translations backup.md (Portuguese, Brazilian) * New translations parameters.md (Portuguese, Brazilian) * New translations encrypt.md (Portuguese, Brazilian) * New translations bars.md (Portuguese, Brazilian) * New translations sdi.md (Portuguese, Brazilian) * New translations updates.md (Portuguese, Brazilian) * New translations dsmapping.md (Portuguese, Brazilian) * New translations ordaclasses.md (Portuguese, Brazilian) * New translations remotedatastores.md (Portuguese, Brazilian) * New translations authusers.md (Portuguese, Brazilian) * New translations handling_users_groups.md (Portuguese, Brazilian) * New translations commands.md (Portuguese, Brazilian) * New translations vp-add-selection.md (Portuguese, Brazilian) * New translations vp-export-document.md (Portuguese, Brazilian) * New translations vp-get-data-context.md (Portuguese, Brazilian) * New translations vp-set-allowed-methods.md (Portuguese, Brazilian) * New translations vp-set-custom-functions.md (Portuguese, Brazilian) * New translations vp-set-data-context.md (Portuguese, Brazilian) * New translations vp-set-date-time-value.md (Portuguese, Brazilian) * New translations vp-set-date-value.md (Portuguese, Brazilian) * New translations vp-set-sheet-options.md (Portuguese, Brazilian) * New translations formulas.md (Portuguese, Brazilian) * New translations authentication.md (Portuguese, Brazilian) * New translations preemptiveweb.md (Portuguese, Brazilian) * New translations qodly-studio.md (Portuguese, Brazilian) * New translations webserver.md (Portuguese, Brazilian) * New translations webserverconfig.md (Portuguese, Brazilian) * New translations formula.md (Portuguese, Brazilian) * New translations session.md (Portuguese, Brazilian) * New translations web.md (Portuguese, Brazilian) * New translations vp-row.md (French) * New translations vp-row.md (French) * New translations vp-row.md (French) * New translations input_overview.md (Spanish) * New translations list_overview.md (Spanish) * New translations pluginarea_overview.md (Spanish) * New translations onbegindragover.md (Spanish) * New translations input_overview.md (Spanish) * New translations list_overview.md (Spanish) * New translations pluginarea_overview.md (Spanish) * New translations onbegindragover.md (Spanish) * New translations input_overview.md (Spanish) * New translations list_overview.md (Spanish) * New translations pluginarea_overview.md (Spanish) * New translations webadmin.md (Spanish) * New translations input_overview.md (Spanish) * New translations list_overview.md (Spanish) * New translations vp-row.md (Spanish) * New translations webadmin.md (Spanish) * New translations input_overview.md (Spanish) * New translations list_overview.md (Spanish) * New translations vp-row.md (Spanish) * New translations webadmin.md (Spanish) * New translations input_overview.md (Spanish) * New translations list_overview.md (Spanish) * New translations vp-row.md (Spanish) * New translations vp-row.md (Japanese) * New translations vp-row.md (Japanese) * New translations vp-row.md (Japanese) * New translations input_overview.md (Portuguese, Brazilian) * New translations encrypt.md (Portuguese, Brazilian) * New translations encrypt.md (Portuguese, Brazilian) * New translations encrypt.md (Portuguese, Brazilian) * New translations bars.md (Portuguese, Brazilian) * New translations dsmapping.md (Portuguese, Brazilian) * New translations bars.md (Portuguese, Brazilian) * New translations sdi.md (Portuguese, Brazilian) * New translations vp-row.md (Portuguese, Brazilian) * New translations vp-row.md (Portuguese, Brazilian) * New translations vp-row.md (Portuguese, Brazilian) * Fix some type in VP commands * Fix VP get data context return type * New translations vp-remove-table-columns.md (French) * New translations vp-remove-table-rows.md (French) * New translations vp-get-formula-by-name.md (Spanish) * New translations vp-get-names.md (Spanish) * New translations vp-insert-table-columns.md (Spanish) * New translations vp-insert-table-rows.md (Spanish) * New translations vp-remove-table-columns.md (Spanish) * New translations vp-remove-table-rows.md (Spanish) * New translations vp-set-sheet-options.md (Spanish) * New translations vp-set-time-value.md (Spanish) * Fix some type in VP commands 20R7 report from 8c007e6 * fixed tables and links * New translations vp-get-formula-by-name.md (Japanese) * New translations vp-get-names.md (Japanese) * New translations vp-insert-table-columns.md (Japanese) * New translations vp-insert-table-rows.md (Japanese) * New translations vp-remove-table-columns.md (Japanese) * New translations vp-remove-table-rows.md (Japanese) * New translations vp-set-sheet-options.md (Japanese) * New translations vp-set-time-value.md (Japanese) * New translations outgoingmessageclass.md (Japanese) * New translations outgoingmessageclass.md (Japanese) * New translations vp-get-formula-by-name.md (Portuguese, Brazilian) * New translations vp-get-names.md (Portuguese, Brazilian) * New translations vp-insert-table-columns.md (Portuguese, Brazilian) * New translations vp-insert-table-rows.md (Portuguese, Brazilian) * New translations vp-remove-table-columns.md (Portuguese, Brazilian) * New translations vp-remove-table-rows.md (Portuguese, Brazilian) * New translations vp-set-sheet-options.md (Portuguese, Brazilian) * New translations vp-set-time-value.md (Portuguese, Brazilian) * New translations entities.md (Portuguese, Brazilian) * New translations current.json (French) * New translations updates.md (French) * New translations vp-get-data-context.md (French) * New translations vp-get-formula-by-name.md (French) * New translations vp-get-names.md (French) * New translations vp-insert-table-columns.md (French) * New translations vp-insert-table-rows.md (French) * New translations vp-set-sheet-options.md (French) * New translations vp-set-time-value.md (French) * New translations vp-get-data-context.md (French) * Feature/session single (#2585) * first draft * removed session storage from legacy * edit after closure --------- Co-authored-by: Eric Marchand <129385512+e-marchand@users.noreply.github.com>
1 parent 4675f79 commit f243299

File tree

13,116 files changed

+28711
-28161
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

13,116 files changed

+28711
-28161
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,6 @@ on:
1111
jobs:
1212
workflow-build:
1313
uses: ./.github/workflows/workflow-build.yml
14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
16+
cancel-in-progress: true

.github/workflows/workflow-build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ jobs:
99
steps:
1010
- name: Get disk space
1111
run: |
12+
df -h /
1213
sudo rm -rf \
1314
"$AGENT_TOOLSDIRECTORY" \
1415
/opt/google/chrome \

commandList.json

Lines changed: 1351 additions & 29 deletions
Large diffs are not rendered by default.

docs/API/CollectionClass.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2229,8 +2229,8 @@ You can also pass a criteria parameter to define how the collection elements mus
22292229

22302230
|Constant| Type|Value|Comment|
22312231
|---|---|---|---|
2232-
|ck ascending|Longint|0|Elements are ordered in ascending order (default)|
2233-
|ck descending|Longint|1|Elements are ordered in descending order
2232+
|ck ascending|Integer|0|Elements are ordered in ascending order (default)|
2233+
|ck descending|Integer|1|Elements are ordered in descending order
22342234

22352235
This syntax orders scalar values in the collection only (other element types such as objects or collections are returned unordered).
22362236

docs/API/CryptoKeyClass.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ Contains the <!-- REF #CryptoKey.type.Summary -->name of the key type - "RSA", "
385385
|18 R4|Added
386386
</details>
387387

388-
<!-- REF #CryptoKey.verify().Syntax -->**.verify**( *message* : Text ; *signature* : Text ; *options* : Object) : object<!-- END REF -->
388+
<!-- REF #CryptoKey.verify().Syntax -->**.verify**( *message* : Text ; *signature* : Text ; *options* : Object) : Object<!-- END REF -->
389389

390390

391391
<!-- REF #CryptoKey.verify().Params -->

docs/API/DataClassClass.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -726,9 +726,9 @@ The `data` object in each entry contains the following properties:
726726

727727
|Property|Type|Description|
728728
|---|---|---|
729-
|__KEY|String|Primary key of the entity|
730-
|__STAMP|Longint|Timestamp of the entity in the database|
731-
|__TIMESTAMP|String|Stamp of the entity in the database (format is YYYY-MM-DDTHH:MM:SS:ms:Z)|
729+
|__KEY|Text|Primary key of the entity|
730+
|__STAMP|Integer|Timestamp of the entity in the database|
731+
|__TIMESTAMP|Text|Stamp of the entity in the database (format is YYYY-MM-DDTHH:MM:SS:ms:Z)|
732732
|dataClassAttributeName|Variant|If there is data in the cache for a dataclass attribute, it is returned in a property with the same type as in the database.|
733733

734734
Data concerning related entities is stored in the cache of the data object.

docs/API/EntityClass.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ The differences are returned as a collection of objects whose properties are:
148148

149149
|Property name| Type| Description|
150150
|---|---|---|
151-
|attributeName| String| Name of the attribute
151+
|attributeName| Text| Name of the attribute
152152
|value|any - Depends on attribute type |Value of the attribute in the entity|
153153
|otherValue|any - Depends on attribute type|Value of the attribute in *entityToCompare*|
154154

docs/API/EntitySelectionClass.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ title: EntitySelection
66

77
An entity selection is an object containing one or more reference(s) to [entities](ORDA/dsMapping.md#entity) belonging to the same [Dataclass](ORDA/dsMapping.md#dataclass). An entity selection can contain 0, 1 or X entities from the dataclass -- where X can represent the total number of entities contained in the dataclass.
88

9-
Entity selections can be created from existing selections using various functions of the [`DataClass` class](DataClassClass.md) such as [`.all()`](DataClassClass.md#all) or [`.query()`](DataClassClass.md#query), or functions of the `EntityClass` class itself, such as [`.and()`](#and) or [`orderBy()`](#orderby). You can also create blank entity selections using the [`dataClass.newSelection()`](DataClassClass.md#newselection) function or the [`Create new selection`](../commands/create-entity-selection.md) command.
9+
Entity selections can be created from existing selections using various functions of the [`DataClass` class](DataClassClass.md) such as [`.all()`](DataClassClass.md#all) or [`.query()`](DataClassClass.md#query), or functions of the `EntityClass` class itself, such as [`.and()`](#and) or [`orderBy()`](#orderby). You can also create blank entity selections using the [`dataClass.newSelection()`](DataClassClass.md#newselection) function or the [`Create entity selection`](../commands/create-entity-selection.md) command.
10+
11+
12+
1013

1114
### Summary
1215

@@ -49,6 +52,9 @@ Entity selections can be created from existing selections using various function
4952
|[<!-- INCLUDE #EntitySelectionClass.toCollection().Syntax -->](#tocollection)<br/><!-- INCLUDE #EntitySelectionClass.toCollection().Summary -->|
5053

5154

55+
#### See also
56+
57+
[`USE ENTITY SELECTION`](../commands/use-entity-selection.md)
5258

5359

5460
<!-- REF EntitySelectionClass.index.Desc -->
@@ -2183,7 +2189,7 @@ $sum:=$sel.sum("salary")
21832189

21842190
</details>
21852191

2186-
<!-- REF #EntitySelectionClass.toCollection().Syntax -->**.toCollection**( { *options* : Integer { ; *begin* : Integer { ; *howMany* : Integer } } ) : *Collection*<br/>**.toCollection**( *filterString* : Text {; *options* : Integer { ; *begin* : Integer { ; *howMany* : Integer }}} ) : *Collection*<br/>**.toCollection**( *filterCol* : Collection {; *options* : Integer { ; *begin* : Integer { ; *howMany* : Integer }}} ) : *Collection*<!-- END REF -->
2192+
<!-- REF #EntitySelectionClass.toCollection().Syntax -->**.toCollection**( { *options* : Integer { ; *begin* : Integer { ; *howMany* : Integer } } ) : Collection<br/>**.toCollection**( *filterString* : Text {; *options* : Integer { ; *begin* : Integer { ; *howMany* : Integer }}} ) : Collection<br/>**.toCollection**( *filterCol* : Collection {; *options* : Integer { ; *begin* : Integer { ; *howMany* : Integer }}} ) : Collection<!-- END REF -->
21872193

21882194

21892195
<!-- REF #EntitySelectionClass.toCollection().Params -->

docs/API/HTTPRequestClass.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -486,4 +486,7 @@ The `wait()` function <!-- REF #HTTPRequestClass.wait().Summary -->waits for the
486486
If a *time* parameter is passed, the function will wait at most the defined number of seconds.
487487

488488
If the response from the server has already arrived, the function returns immediately.
489+
490+
During a `.wait()` execution, callback functions are executed, whether from other `HTTPRequest` or [`SystemWorker`](SystemWorkerClass.md) instances, or other [`CALL WORKER`](../commands-legacy/call-worker.md) calls. You can exit from a `.wait()` by calling [`terminate()`](#terminate) from a callback.
491+
489492
<!-- END REF -->

docs/API/SessionClass.md

Lines changed: 25 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@ Session objects are returned by the [`Session`](../commands/session.md) command.
88

99
### Session types
1010

11-
Three types of sessions are supported by this class:
11+
The following types of sessions are supported by this class:
1212

1313
- [**Web user sessions**](WebServer/sessions.md): Web user sessions are available when [scalable sessions are enabled in your project](WebServer/sessions.md#enabling-sessions). They are used for Web and REST connections, and can be assigned privileges.
1414
- [**Remote client user sessions**](../Desktop/clientServer.md#remote-user-sessions): In client/server applications, remote users have their own sessions managed on the server.
1515
- [**Stored procedures session**](https://doc.4d.com/4Dv20R5/4D/20-R5/4D-Server-and-the-4D-Language.300-6932726.en.html): All stored procedures executed on the server share the same virtual user session.
16+
- [**Standalone session**](../Project/overview.md#development): Local session object returned in single-user application (useful in development and test phases of client/server applications).
17+
1618

1719
:::note
1820

@@ -67,7 +69,7 @@ The availability of properties and functions in the `Session` object depends on
6769

6870
:::note
6971

70-
This function does nothing and always returns **True** with remote client and stored procedure sessions.
72+
This function does nothing and always returns **True** with remote client, stored procedure, and standalone sessions.
7173

7274
:::
7375

@@ -148,7 +150,7 @@ $expiration:=Session.expirationDate //eg "2021-11-05T17:10:42Z"
148150

149151
The `.getPrivileges()` function <!-- REF #SessionClass.getPrivileges().Summary -->returns a collection of all the privilege names associated to the session<!-- END REF -->.
150152

151-
With remote client and stored procedure sessions, this function returns a collection only containing "WebAdmin".
153+
With remote client, stored procedure and standalone sessions, this function returns a collection only containing "WebAdmin".
152154

153155

154156
:::info
@@ -252,7 +254,7 @@ $privileges := Session.getPrivileges()
252254

253255
The `.hasPrivilege()` function <!-- REF #SessionClass.hasPrivilege().Summary -->returns True if the *privilege* is associated to the session, and False otherwise<!-- END REF -->.
254256

255-
With remote client and stored procedure sessions, this function always returns True, whatever the *privilege*.
257+
With remote client, stored procedure and standalone sessions, this function always returns True, whatever the *privilege*.
256258

257259

258260
#### Example
@@ -286,12 +288,12 @@ End if
286288

287289
#### Description
288290

289-
The `.id` property contains <!-- REF #SessionClass.id.Summary -->the unique identifier (UUID) of the session on the server<!-- END REF -->. This unique string is automatically assigned by the server for each session and allows you to identify its processes.
291+
The `.id` property contains <!-- REF #SessionClass.id.Summary -->the unique identifier (UUID) of the user session<!-- END REF -->. With 4D Server, this unique string is automatically assigned by the server for each session and allows you to identify its processes.
290292

291293

292294
:::tip
293295

294-
You can use this property to get the [`.storage`](#storage) object of a session thanks to the [`Session storage`](../commands-legacy/session-storage.md) command.
296+
You can use this property to get the [`.storage`](#storage) object of a session thanks to the [`Session storage`](../commands/session-storage.md) command.
295297

296298
:::
297299

@@ -366,28 +368,34 @@ End if
366368

367369
:::note
368370

369-
This property is only available with remote client and stored procedure sessions.
371+
This property is only available with remote client, stored procedure, and standalone sessions.
370372

371373
:::
372374

373-
The `.info` property <!-- REF #SessionClass.info.Summary -->describes the remote client or stored procedure session on the server<!-- END REF -->.
375+
The `.info` property <!-- REF #SessionClass.info.Summary -->describes the remote client or stored procedure session on the server, or the standalone session<!-- END REF -->.
376+
377+
:::note
378+
379+
- The `.info` object is the same object as the one returned in the "session" property by the [`Process activity`](../commands/process-activity.md) command for remote client and stored procedure sessions.
380+
- The `.info` object is the same object as the one returned by the [`Session info`](../commands/session-info.md) command for a standalone session.
381+
374382

375-
The `.info` object is the same object as the one returned by the [`Get process activity`](https://doc.4d.com/4dv20/help/command/en/page1495.html) command for remote client and stored procedure sessions.
383+
:::
376384

377385
The `.info` object contains the following properties:
378386

379387
|Property|Type|Description|
380388
|---|---|---|
381-
|type|Text|Session type: "remote" or "storedProcedure"|
389+
|type|Text|Session type: "remote", "storedProcedure", "standalone"|
382390
|userName|Text|4D user name (same value as [`.userName`](#username))|
383-
|machineName|Text|Remote sessions: name of the remote machine. Stored procedures session: name of the server machine|
391+
|machineName|Text|Remote sessions: name of the remote machine. Stored procedures session: name of the server machine. Standalone session: name of the machine|
384392
|systemUserName|Text|Remote sessions: name of the system session opened on the remote machine. |
385393
|IPAddress|Text|IP address of the remote machine|
386394
|hostType|Text|Host type: "windows" or "mac"|
387-
|creationDateTime|Date ISO 8601|Date and time of session creation|
395+
|creationDateTime|Date ISO 8601|Date and time of session creation. Standalone session: date and time of application startup|
388396
|state|Text|Session state: "active", "postponed", "sleeping"|
389397
|ID|Text|Session UUID (same value as [`.id`](#id))|
390-
|persistentID|Text|Session's persistent ID|
398+
|persistentID|Text|Remote sessions: Session's persistent ID|
391399

392400
:::note
393401

@@ -423,7 +431,7 @@ Since `.info` is a computed property, it is recommended to call it once and then
423431

424432
:::note
425433

426-
This function always returns **False** with remote client and stored procedure sessions.
434+
This function always returns **False** with remote client, stored procedure, and standalone sessions.
427435

428436
:::
429437

@@ -472,7 +480,7 @@ End if
472480

473481
:::note
474482

475-
This function does nothing and always returns **False** with remote client and stored procedure sessions.
483+
This function does nothing and always returns **False** with remote client, stored procedure, and standalone sessions.
476484

477485
:::
478486

@@ -552,7 +560,7 @@ This property is **read only** itself but it returns a read-write object.
552560

553561
:::tip
554562

555-
You can get the `.storage` property of a session using the [`Session storage`](../commands-legacy/session-storage.md) command.
563+
You can get the `.storage` property of a session using the [`Session storage`](../commands/session-storage.md) command.
556564

557565
:::
558566

@@ -608,6 +616,7 @@ The `.userName` property contains <!-- REF #SessionClass.userName.Summary -->the
608616

609617
- With web sessions, this property is an empty string by default. It can be set using the `privileges` property of the [`setPrivileges()`](#setprivileges) function.
610618
- With remote and stored procedure sessions, this property returns the same user name as the [`Current user`](../commands-legacy/current-user.md) command.
619+
- With standalone sessions, this property contains "designer" or the name set with the [`SET USER ALIAS`](../commands-legacy/set-user-alias.md) command.
611620

612621
This property is **read only**.
613622

0 commit comments

Comments
 (0)