GetSessionInfo
What it does
Gets information about a session.
Definition
int GetSessionInfo( int sessionId, out string userName, out string computerName, out int roleType );
Parameters
Name | Type | Description |
sessionId | int | The ID of the session about which information is to be retrieved |
userName | out string | The name of the user |
computerName | out string | The name of the user's computer |
roleType | out int | The type of user role. See RoleType for possible values. |
Returned value
Type | Description |
int | User ID |
12.04.2024 18:16:01