New to Telerik Report Server? Start a free 30-day trial
GET api/reportserver/v3/roles
Returns a collection of all roles.
Request Information
URI Parameters
None.
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": "5d6b84f09c5",
"Name": "HR Reports",
"Description": "A short, descriptive summary shown to users in the Report Server UI.",
"IsSystemRole": true,
"UserIds": [
"5d87464875b242a1bd9f29cf71ad3420",
"e4fef1a40c674ca1b84801bc1a8c4da3"
]
},
{
"Id": "1f2825f0dbb",
"Name": "Sales Reports",
"Description": "A short, descriptive summary shown to users in the Report Server UI.",
"IsSystemRole": true,
"UserIds": [
"20cdff6e73a04b5fa8f08b4fce124184",
"00496321ef4d427a8fe0f04dbd7b8e9c"
]
}
]