New to Telerik Report Server? Start a free 30-day trial
POST api/reportserver/v2/users/local
Creates a new local user.
Request Information
URI Parameters
None.
Body Parameters
Local user model.
| Name | Description | Type | Additional information |
|---|---|---|---|
| Username |
Specifies the username of the local user. | string |
Required |
| Password |
Specifies the password of the local user. | string |
None. |
|
Specifies the email of the local user. | string |
Required | |
| FirstName |
Specifies the first name of the local user. | string |
Required |
| LastName |
Specifies the last name of the local user. | string |
Required |
| Enabled |
Specifies whether the local user is enabled or disabled. | boolean |
None. |
| RoleIds |
Specifies the IDs which the user is assigned to. | Collection of string |
None. |
Request body formats
application/json, text/json
json
{
"Username": "jane.doe",
"Password": "SAMPLE-PASSWORD-PLACEHOLDER",
"Email": "maria.garcia@example.com",
"FirstName": "Alex",
"LastName": "Doe",
"Enabled": true,
"RoleIds": [
"800975a1046",
"e80c8b4ece7"
]
}
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, text/json
json
{
"Id": "8d427bd6ff8",
"Username": "jane.doe",
"FirstName": "Alex",
"LastName": "Doe",
"Email": "maria.garcia@example.com",
"Enabled": true
}