New to Telerik Report Server? Start a free 30-day trial
POST api/reportserver/v3/users
Creates a new user.
Request Information
URI Parameters
None.
Body Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Type |
Specifies the user type. | UserType |
Required |
| Username |
Specifies the username. | string |
Required |
| Password |
Specifies the password for local users. | string |
None. |
|
Specifies the email address. | string |
Required | |
| FirstName |
Specifies the first name. | string |
None. |
| LastName |
Specifies the last name. | string |
None. |
| Enabled |
Specifies whether the user is enabled. | boolean |
None. |
| RoleIds |
Provides the IDs of the roles assigned to the user. | Collection of string |
None. |
Request body formats
application/json, text/json, application/*+json
json
{
"Type": "Local",
"Username": "maria.garcia",
"Password": "SAMPLE-PASSWORD-PLACEHOLDER",
"Email": "jane.doe@example.com",
"FirstName": "John",
"LastName": "Garcia",
"Enabled": true,
"RoleIds": [
"b2663c0ccfc",
"0468c81af2d"
]
}
Response Information
Resource Description
| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Specifies the user identifier. | string |
None. |
| Username |
Specifies the username of the user. | string |
None. |
| FirstName |
Specifies the first name of the user. | string |
None. |
| LastName |
Specifies the last name of the user. | string |
None. |
|
Specifies the email of the user. | string |
None. | |
| Enabled |
Specifies whether the user is enabled or not. | boolean |
None. |
Response Formats
application/json
json
{
"Id": "dd294a902ae",
"Username": "maria.garcia",
"FirstName": "John",
"LastName": "Garcia",
"Email": "jane.doe@example.com",
"Enabled": true
}