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 |
4/12/2024 6:16:03 PM