Returns all roles from the configured RoleMapper.
Syntax
Usr_GetRoles(string sessionId, out string lastError, out string[] roles)
| Parameter | Description |
|---|---|
| sessionId | Valid session identifier (SessionId) |
| lastError | Error message or an empty string if the call was successful |
| roles | String array of all existing roles |
Return Value
| Value | Description |
|---|---|
|
0 |
OK |
|
-100 |
Error |