POST api/reportserver/v2/users/federation
Creates a new federation user.
Request Information
URI Parameters
None.
Body Parameters
Federation user model.
CreateFederationUserDataName | Description | Type | Additional information |
---|---|---|---|
Username |
Specifies the username of the local user. |
string |
Required |
Specifies the email 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
{ "Username": "sample string 1", "Email": "sample string 2", "Enabled": true, "RoleIds": [ "sample string 1", "sample string 2" ] }
Response Information
Resource Description
UserName | 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
{ "Id": "sample string 1", "Username": "sample string 2", "FirstName": "sample string 3", "LastName": "sample string 4", "Email": "sample string 5", "Enabled": true }