GET api/userroles/GetRolesForUser?userId={userId}
Get all roles for user by user ID
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
userId |
User ID |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of UserRoleDtoName | Description | Type | Additional information |
---|---|---|---|
Role | RoleEnum |
Required |
|
CustomerGroup | NamedItem |
Required |
|
IsActive | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Role": "Viewer", "CustomerGroup": { "Id": "83a7009f-d6e1-4b24-9ca4-8f960c960a2c", "Name": "sample string 2" }, "IsActive": true }, { "Role": "Viewer", "CustomerGroup": { "Id": "83a7009f-d6e1-4b24-9ca4-8f960c960a2c", "Name": "sample string 2" }, "IsActive": true } ]