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

CreateUserRoleData

NameDescriptionTypeAdditional 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": "Provides additional context for users browsing the Report Server catalog.",
  "UserIds": [
    "f98d6b2e8c5e4dcb8da43a256b24a03d",
    "05441a06144c44c0b4eec0556c19edc0"
  ]
}

Response Information

Resource Description

UserRole

NameDescriptionTypeAdditional 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": "dcbeb384f42",
  "Name": "HR Reports",
  "Description": "Provides additional context for users browsing the Report Server catalog.",
  "IsSystemRole": true,
  "UserIds": [
    "f98d6b2e8c5e4dcb8da43a256b24a03d",
    "05441a06144c44c0b4eec0556c19edc0"
  ]
}
Not finding the help you need?
Contact Support