POST api/users/user/{userId}/changeAuthenticationMethod?authenticationMethod={authenticationMethod}&LDAPUsername={LDAPUsername}

Update a users Authentication Method.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

User ID.

integer

Required

authenticationMethod

Authentication Method: 1 is LDAP Authentication, 0 is Password Authentication.

integer

Required

LDAPUsername

LDAP Username. Not required, if no LDAP Username is provided the Users username will be used.

string

Default value is

Body Parameters

None.

Response Information

Resource Description

GenericResponseMessage
NameDescriptionTypeAdditional information
HttpStatusCode

HttpStatusCode

None.

HttpStatus

string

None.

Status

string

None.

Description

string

None.

Data

string

None.

Response Formats

application/json, text/json

Sample:
{
  "HttpStatusCode": 100,
  "HttpStatus": "Continue",
  "Status": "sample string 1",
  "Description": "sample string 2",
  "Data": "sample string 3"
}

application/xml, text/xml

Sample:
<GenericResponseMessage xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <HttpStatusCode>Continue</HttpStatusCode>
  <Status>sample string 1</Status>
  <Description>sample string 2</Description>
  <Data>sample string 3</Data>
</GenericResponseMessage>