GET api/security/user/identity?username={username}

Gets user's identity info based on the user name.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
username

The user name

string

Required

Body Parameters

None.

Response Information

Resource Description

UserIdentityInfo
NameDescriptionTypeAdditional information
IdentityName

The identity name of user

string

None.

FirstName

User's first name

string

None.

LastName

User's last name

string

None.

MiddleName

User's middle name

string

None.

Description

Identity description

string

None.

EmailAddress

User's email address

string

None.

Response Formats

application/json, text/json

Sample:
{
  "identityName": "sample string 1",
  "firstName": "sample string 2",
  "lastName": "sample string 3",
  "middleName": "sample string 4",
  "description": "sample string 5",
  "emailAddress": "sample string 6"
}

application/xml, text/xml

Sample:
<UserIdentityInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TS.DR.Resources">
  <Description>sample string 5</Description>
  <EmailAddress>sample string 6</EmailAddress>
  <FirstName>sample string 2</FirstName>
  <IdentityName>sample string 1</IdentityName>
  <LastName>sample string 3</LastName>
  <MiddleName>sample string 4</MiddleName>
</UserIdentityInfo>