English (English) - Change language

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

25.09.2020 9:24:45


Please leave your feedback about this article