POST api/reportserver/v1/users/local

Creates a new local user.

Request Information

URI Parameters

None.

Body Parameters

Local user model.

CreateLocalUserData
NameDescriptionTypeAdditional information
Username

Specifies the username of the local user.

string

Required

Password

Specifies the password of the local user.

string

None.

Email

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

Sample:
{
  "Username": "sample string 1",
  "Password": "sample string 2",
  "Email": "sample string 3",
  "FirstName": "sample string 4",
  "LastName": "sample string 5",
  "Enabled": true,
  "RoleIds": [
    "sample string 1",
    "sample string 2"
  ]
}

Response Information

Resource Description

The ID of the new user.

string
NameDescriptionTypeAdditional information

Response Formats

application/json, text/json

Sample:
"sample string 1"
In this article
Not finding the help you need?