<h1>POST api/reportserver/v2/users/local</h1>
<div>
<p>
Creates a new local user.
</p>

<h2>Request Information</h2>

<h3>URI Parameters</h3>
<p>None.</p>

<h3>Body Parameters</h3>

<p>Local user model.</p>

<a href="/implementer-guide/apis/rest-api/v2/createlocaluserdata">CreateLocalUserData</a>

<table class="help-page-table">
<thead>
<tr><th>Name</th><th>Description</th><th>Type</th><th>Additional information</th></tr>
</thead>
<tbody>
<tr>
<td class="parameter-name">Username</td>
<td class="parameter-documentation">
<p>
Specifies the username of the local user.
</p>
</td>
<td class="parameter-type">
string

</td>
<td class="parameter-annotations">
<p>Required</p>
</td>
</tr>
<tr>
<td class="parameter-name">Password</td>
<td class="parameter-documentation">
<p>
Specifies the password of the local user.
</p>
</td>
<td class="parameter-type">
string

</td>
<td class="parameter-annotations">
<p>None.</p>
</td>
</tr>
<tr>
<td class="parameter-name">Email</td>
<td class="parameter-documentation">
<p>
Specifies the email of the local user.
</p>
</td>
<td class="parameter-type">
string

</td>
<td class="parameter-annotations">
<p>Required</p>
</td>
</tr>
<tr>
<td class="parameter-name">FirstName</td>
<td class="parameter-documentation">
<p>
Specifies the first name of the local user.
</p>
</td>
<td class="parameter-type">
string

</td>
<td class="parameter-annotations">
<p>Required</p>
</td>
</tr>
<tr>
<td class="parameter-name">LastName</td>
<td class="parameter-documentation">
<p>
Specifies the last name of the local user.
</p>
</td>
<td class="parameter-type">
string

</td>
<td class="parameter-annotations">
<p>Required</p>
</td>
</tr>
<tr>
<td class="parameter-name">Enabled</td>
<td class="parameter-documentation">
<p>
Specifies whether the local user is enabled or disabled.
</p>
</td>
<td class="parameter-type">
boolean

</td>
<td class="parameter-annotations">
<p>None.</p>
</td>
</tr>
<tr>
<td class="parameter-name">RoleIds</td>
<td class="parameter-documentation">
<p>
Specifies the IDs  which the user is assigned to.
</p>
</td>
<td class="parameter-type">
Collection of string

</td>
<td class="parameter-annotations">
<p>None.</p>
</td>
</tr>
</tbody>
</table>
<h3>Request body formats</h3>
<div>
<h4 class="sample-header">application/json, text/json</h4>
<div class="sample-content">

```json
{
  "Username": "john.smith",
  "Password": "SAMPLE-PASSWORD-PLACEHOLDER",
  "Email": "alex.johnson@example.com",
  "FirstName": "Jane",
  "LastName": "Smith",
  "Enabled": true,
  "RoleIds": [
    "c9d4f958ef3",
    "29e36375b34"
  ]
}
```

</div>
</div>

<h2>Response Information</h2>

<h3>Resource Description</h3>

<p></p>

<a href="/implementer-guide/apis/rest-api/v2/user">User</a>

<table class="help-page-table">
<thead>
<tr><th>Name</th><th>Description</th><th>Type</th><th>Additional information</th></tr>
</thead>
<tbody>
<tr>
<td class="parameter-name">Id</td>
<td class="parameter-documentation">
<p>
Specifies the user identifier.
</p>
</td>
<td class="parameter-type">
string

</td>
<td class="parameter-annotations">
<p>None.</p>
</td>
</tr>
<tr>
<td class="parameter-name">Username</td>
<td class="parameter-documentation">
<p>
Specifies the username of the user.
</p>
</td>
<td class="parameter-type">
string

</td>
<td class="parameter-annotations">
<p>None.</p>
</td>
</tr>
<tr>
<td class="parameter-name">FirstName</td>
<td class="parameter-documentation">
<p>
Specifies the first name of the user.
</p>
</td>
<td class="parameter-type">
string

</td>
<td class="parameter-annotations">
<p>None.</p>
</td>
</tr>
<tr>
<td class="parameter-name">LastName</td>
<td class="parameter-documentation">
<p>
Specifies the last name of the user.
</p>
</td>
<td class="parameter-type">
string

</td>
<td class="parameter-annotations">
<p>None.</p>
</td>
</tr>
<tr>
<td class="parameter-name">Email</td>
<td class="parameter-documentation">
<p>
Specifies the email of the user.
</p>
</td>
<td class="parameter-type">
string

</td>
<td class="parameter-annotations">
<p>None.</p>
</td>
</tr>
<tr>
<td class="parameter-name">Enabled</td>
<td class="parameter-documentation">
<p>
Specifies whether the user is enabled or not.
</p>
</td>
<td class="parameter-type">
boolean

</td>
<td class="parameter-annotations">
<p>None.</p>
</td>
</tr>
</tbody>
</table>

<h3>Response Formats</h3>
<div>
<h4 class="sample-header">application/json, text/json</h4>
<div class="sample-content">

```json
{
  "Id": "85f0d604b75",
  "Username": "john.smith",
  "FirstName": "Jane",
  "LastName": "Smith",
  "Email": "alex.johnson@example.com",
  "Enabled": true
}
```

</div>
</div>
</div>
