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": "41b74bffd68",
"Name": "Financial Reports",
"Description": "Provides additional context for users browsing the Report Server catalog.",
"IsSystemRole": true,
"UserIds": [
"fb3d8469486f4ff0ae772ad6800e24c9",
"6f48bb2e56c74ceeaf9416ab962c4a1a"
]
},
{
"Id": "2eb9607acae",
"Name": "Marketing Reports",
"Description": "Provides additional context for users browsing the Report Server catalog.",
"IsSystemRole": true,
"UserIds": [
"08135b60d59a49208441c1dd7d3fd95e",
"0f8761dfcb63495aa5e4cfc1f47a4d9c"
]
}
]