POST api/Account/ValidateUser

Verifies credentials compared with Requestor user accounts. Basic Authentication is NOT needed.

Request Information

URI Parameters

None.

Body Parameters

UserName and Password to verify against the Requestor user accounts.

NetworkCredential
NameDescriptionTypeAdditional information
UserName

string

None.

Password

string

None.

SecurePassword

SecureString

None.

Domain

string

None.

Request Formats

application/json, text/json

Sample:
{
  "UserName": "John.Doe",
  "Password": "His_Password"
}

application/xml, text/xml

Sample:
<NetworkCredential xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/System.Net">
  <UserName>John.Doe</UserName>
  <Password>His_Password</Password>
</NetworkCredential>

application/x-www-form-urlencoded

Sample:
UserName=John.Doe&Password=His_Password

Response Information

Resource Description

HttpStatusCode 200 OK or 400 BadRequest with Message.

IHttpActionResult

None.