What it does

Gets information about a session.


int GetSessionInfo( int sessionId, out string userName, out string computerName, out int roleType );


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

15.03.2021 9:22:24

Please leave your feedback about this article