GET api/reportserver/v2/users/{userId}/userroles
Returns the user roles of the specified user.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
userId |
User ID. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of UserRoleName | Description | Type | Additional information |
---|---|---|---|
Id |
Specifies the role identifier. |
string |
Required |
Name |
Specifies the user role name. |
string |
Required |
Description |
Specifies the description of the user role. |
string |
None. |
IsSystemRole |
Indicates whether the user role is a system role or not. |
boolean |
None. |
UserIds |
Returns a list of IDs of users that are assigned to the role. |
Collection of string |
None. |
Response Formats
application/json, text/json
[ { "Id": "sample string 1", "Name": "sample string 2", "Description": "sample string 3", "IsSystemRole": true, "UserIds": [ "sample string 1", "sample string 2" ] }, { "Id": "sample string 1", "Name": "sample string 2", "Description": "sample string 3", "IsSystemRole": true, "UserIds": [ "sample string 1", "sample string 2" ] } ]