New to Telerik Report Server? Start a free 30-day trial
POST api/reportserver/v3/roles
Creates a new role.
Request Information
URI Parameters
None.
Body Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Name |
Specifies the name of the user role. | string |
Required |
| Description |
Specifies the description of the user role. | string |
None. |
| UserIds |
The IDs of the assigned to the role users. | Collection of string |
None. |
Request body formats
application/json, text/json, application/*+json
json
{
"Name": "HR Reports",
"Description": "A short, descriptive summary shown to users in the Report Server UI.",
"UserIds": [
"9c6969dcde16432a9c8f6b8210ae1f5c",
"9bc5e35ad1644c3888d70baa06cbe22f"
]
}
Response Information
Resource Description
| 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": "b7b2ec368ae",
"Name": "HR Reports",
"Description": "A short, descriptive summary shown to users in the Report Server UI.",
"IsSystemRole": true,
"UserIds": [
"9c6969dcde16432a9c8f6b8210ae1f5c",
"9bc5e35ad1644c3888d70baa06cbe22f"
]
}