What it does
Gets information about a session.Definition
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 |
