Returns all users that belong to the specified role.
Syntax
Usr_GetUsersOfRole(string sessionId, string roleName, out string lastError, out string[] users)
| Parameter | Description |
|---|---|
| sessionId | Valid session identifier (SessionId) |
| roleName | Name of the role, for which the users are to be returned. |
| lastError | Error message or an empty string if the call was successful |
| users | String array of all user names belonging to the specified role |
Return Value
| Value | Description |
|---|---|
|
0 |
OK |
|
-100 |
Error |