krn.SessionEnumDB
This job returns a list of all database entries for work sessions.
2. Output Parameters
| Name | Type | Dependency | Description |
|---|---|---|---|
|
STRING |
— |
Semicolon-separated description of the fields returned per record in |
|
STRING |
— |
MIME-encoded buffer with one record per work session. See the structure below. |
3. Structure of the Sessions buffer
The buffer is MIME-encoded and decodes to one record per work session.
Within a record, the individual fields are separated by NUL characters (0x00); their order and meaning are described by the SessionInfoType parameter.
SessionInfoType returns the following field order:
| Field | Description |
|---|---|
|
GUID of the work session |
|
Identifier of the server on which the session exists |
|
GUID of the station |
|
Numeric user ID |
|
Start time of the session (Unix timestamp in seconds) |
|
Internal identifier (usually empty) |
|
GUID of the user |
|
Name of the application or instance holding the session |
|
Name of the server |
|
Port of the server |
|
Login name of the user |
|
Name of the station (computer name) |
|
Account type of the session |
4. Return Value
(INT): 0 = Job successful, otherwise error code.
See also: krn.SessionEnum