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": "badf002021e",
"Name": "Marketing Reports",
"Description": "Displayed to help users understand the purpose of this item.",
"IsSystemRole": true,
"UserIds": [
"47f7061bc6c44ffc9c1b88f9848dd458",
"54b2ddcbec504a34812409e4daaf6b5d"
]
},
{
"Id": "3214a566344",
"Name": "Financial Reports",
"Description": "Displayed to help users understand the purpose of this item.",
"IsSystemRole": true,
"UserIds": [
"38d8cc7bcea347b58b3853873a0c485d",
"51ac163483e544cd9d85094d25b7116d"
]
}
]