POST impersonate

impersonates a user

Request Information

URI Parameters

None.

Body Parameters

the authentication request. The user name can be either the AD user name or the email address

ImpersonateRequest
NameDescriptionTypeAdditional information
UserId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": 1
}

application/xml, text/xml

Sample:
<ImpersonateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SALT2.Objects.SecurityObjects">
  <UserId>1</UserId>
</ImpersonateRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ImpersonateRequest'.

Response Information

Resource Description

JWT authentication token to be used in all API requests

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.