New to Telerik Report Server? Start a free 30-day trial
GET api/reportserver/v3/users/{userId}/roles
Returns the roles assigned to the user with the specified ID.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userId |
The user ID. | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of UserRole
| Name | 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
json
[
{
"Id": "8a063aaa6fc",
"Name": "Financial Reports",
"Description": "A short, descriptive summary shown to users in the Report Server UI.",
"IsSystemRole": true,
"UserIds": [
"7296da3aebff45b5a8986d982364e359",
"efa28fb45efc46a1ad8773a6c93d7f75"
]
},
{
"Id": "90c82f747e2",
"Name": "Marketing Reports",
"Description": "A short, descriptive summary shown to users in the Report Server UI.",
"IsSystemRole": true,
"UserIds": [
"f0aae4e4ab964243b0eb12fb7a7b6fe0",
"0c44f82a11c54272be0088478be1a330"
]
}
]