GET UsersAPI/GetUsersByUserName?username={username}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
username

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of User
NameDescriptionTypeAdditional information
Password

string

None.

UserRole

string

None.

Code

string

None.

ApplicationId

globally unique identifier

None.

MobileAlias

string

None.

IsAnonymous

boolean

None.

LastActivityDate

date

None.

MobilePIN

string

None.

LoweredEmail

string

None.

PrimarySchoolRole

string

None.

PasswordAnswer

string

None.

IsApproved

boolean

None.

IsLockedOut

boolean

None.

CreateDate

date

None.

LastLoginDate

date

None.

LastPasswordChangedDate

date

None.

LastLockoutDate

date

None.

FailedPasswordAttemptCount

integer

None.

FailedPasswordAttemptWindowStart

date

None.

FailedPasswordAnswerAttemptCount

integer

None.

FailedPasswordAnswerAttemptWindowStart

date

None.

Comment

string

None.

Email

string

None.

EmailConfirmed

boolean

None.

PasswordHash

string

None.

SecurityStamp

string

None.

PhoneNumber

string

None.

PhoneNumberConfirmed

boolean

None.

TwoFactorEnabled

boolean

None.

LockoutEndDateUtc

date

None.

LockoutEnabled

boolean

None.

AccessFailedCount

integer

None.

Roles

Collection of IdentityUserRole

None.

Claims

Collection of IdentityUserClaim

None.

Logins

Collection of IdentityUserLogin

None.

Id

string

None.

UserName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Password": "sample string 1",
    "UserRole": "sample string 2",
    "Code": "sample string 3",
    "ApplicationId": "1fa246b0-dea7-4ac7-b72d-f03344d92dc3",
    "MobileAlias": "sample string 5",
    "IsAnonymous": true,
    "LastActivityDate": "2021-01-25T20:43:11.8633032+00:00",
    "MobilePIN": "sample string 8",
    "LoweredEmail": "sample string 9",
    "PrimarySchoolRole": "sample string 10",
    "PasswordAnswer": "sample string 11",
    "IsApproved": true,
    "IsLockedOut": true,
    "CreateDate": "2021-01-25T20:43:11.8633032+00:00",
    "LastLoginDate": "2021-01-25T20:43:11.8633032+00:00",
    "LastPasswordChangedDate": "2021-01-25T20:43:11.8633032+00:00",
    "LastLockoutDate": "2021-01-25T20:43:11.8633032+00:00",
    "FailedPasswordAttemptCount": 18,
    "FailedPasswordAttemptWindowStart": "2021-01-25T20:43:11.8633032+00:00",
    "FailedPasswordAnswerAttemptCount": 20,
    "FailedPasswordAnswerAttemptWindowStart": "2021-01-25T20:43:11.8633032+00:00",
    "Comment": "sample string 22",
    "Email": "sample string 23",
    "EmailConfirmed": true,
    "PasswordHash": "sample string 25",
    "SecurityStamp": "sample string 26",
    "PhoneNumber": "sample string 27",
    "PhoneNumberConfirmed": true,
    "TwoFactorEnabled": true,
    "LockoutEndDateUtc": "2021-01-25T20:43:11.8633032+00:00",
    "LockoutEnabled": true,
    "AccessFailedCount": 31,
    "Roles": [],
    "Claims": [],
    "Logins": [],
    "Id": "sample string 32",
    "UserName": "sample string 33"
  },
  {
    "Password": "sample string 1",
    "UserRole": "sample string 2",
    "Code": "sample string 3",
    "ApplicationId": "1fa246b0-dea7-4ac7-b72d-f03344d92dc3",
    "MobileAlias": "sample string 5",
    "IsAnonymous": true,
    "LastActivityDate": "2021-01-25T20:43:11.8633032+00:00",
    "MobilePIN": "sample string 8",
    "LoweredEmail": "sample string 9",
    "PrimarySchoolRole": "sample string 10",
    "PasswordAnswer": "sample string 11",
    "IsApproved": true,
    "IsLockedOut": true,
    "CreateDate": "2021-01-25T20:43:11.8633032+00:00",
    "LastLoginDate": "2021-01-25T20:43:11.8633032+00:00",
    "LastPasswordChangedDate": "2021-01-25T20:43:11.8633032+00:00",
    "LastLockoutDate": "2021-01-25T20:43:11.8633032+00:00",
    "FailedPasswordAttemptCount": 18,
    "FailedPasswordAttemptWindowStart": "2021-01-25T20:43:11.8633032+00:00",
    "FailedPasswordAnswerAttemptCount": 20,
    "FailedPasswordAnswerAttemptWindowStart": "2021-01-25T20:43:11.8633032+00:00",
    "Comment": "sample string 22",
    "Email": "sample string 23",
    "EmailConfirmed": true,
    "PasswordHash": "sample string 25",
    "SecurityStamp": "sample string 26",
    "PhoneNumber": "sample string 27",
    "PhoneNumberConfirmed": true,
    "TwoFactorEnabled": true,
    "LockoutEndDateUtc": "2021-01-25T20:43:11.8633032+00:00",
    "LockoutEnabled": true,
    "AccessFailedCount": 31,
    "Roles": [],
    "Claims": [],
    "Logins": [],
    "Id": "sample string 32",
    "UserName": "sample string 33"
  }
]

application/xml, text/xml

Sample:
<ArrayOfUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QMA2020.Models">
  <User>
    <AccessFailedCount xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">31</AccessFailedCount>
    <Email xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 23</Email>
    <EmailConfirmed xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">true</EmailConfirmed>
    <Id xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 32</Id>
    <LockoutEnabled xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">true</LockoutEnabled>
    <LockoutEndDateUtc xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">2021-01-25T20:43:11.8633032+00:00</LockoutEndDateUtc>
    <PasswordHash xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 25</PasswordHash>
    <PhoneNumber xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 27</PhoneNumber>
    <PhoneNumberConfirmed xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">true</PhoneNumberConfirmed>
    <SecurityStamp xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 26</SecurityStamp>
    <TwoFactorEnabled xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">true</TwoFactorEnabled>
    <UserName xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 33</UserName>
    <ApplicationId>1fa246b0-dea7-4ac7-b72d-f03344d92dc3</ApplicationId>
    <Code>sample string 3</Code>
    <Comment>sample string 22</Comment>
    <CreateDate>2021-01-25T20:43:11.8633032+00:00</CreateDate>
    <FailedPasswordAnswerAttemptCount>20</FailedPasswordAnswerAttemptCount>
    <FailedPasswordAnswerAttemptWindowStart>2021-01-25T20:43:11.8633032+00:00</FailedPasswordAnswerAttemptWindowStart>
    <FailedPasswordAttemptCount>18</FailedPasswordAttemptCount>
    <FailedPasswordAttemptWindowStart>2021-01-25T20:43:11.8633032+00:00</FailedPasswordAttemptWindowStart>
    <IsAnonymous>true</IsAnonymous>
    <IsApproved>true</IsApproved>
    <IsLockedOut>true</IsLockedOut>
    <LastActivityDate>2021-01-25T20:43:11.8633032+00:00</LastActivityDate>
    <LastLockoutDate>2021-01-25T20:43:11.8633032+00:00</LastLockoutDate>
    <LastLoginDate>2021-01-25T20:43:11.8633032+00:00</LastLoginDate>
    <LastPasswordChangedDate>2021-01-25T20:43:11.8633032+00:00</LastPasswordChangedDate>
    <LoweredEmail>sample string 9</LoweredEmail>
    <MobileAlias>sample string 5</MobileAlias>
    <MobilePIN>sample string 8</MobilePIN>
    <Password>sample string 1</Password>
    <PasswordAnswer>sample string 11</PasswordAnswer>
    <PrimarySchoolRole>sample string 10</PrimarySchoolRole>
    <UserRole>sample string 2</UserRole>
  </User>
  <User>
    <AccessFailedCount xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">31</AccessFailedCount>
    <Email xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 23</Email>
    <EmailConfirmed xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">true</EmailConfirmed>
    <Id xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 32</Id>
    <LockoutEnabled xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">true</LockoutEnabled>
    <LockoutEndDateUtc xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">2021-01-25T20:43:11.8633032+00:00</LockoutEndDateUtc>
    <PasswordHash xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 25</PasswordHash>
    <PhoneNumber xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 27</PhoneNumber>
    <PhoneNumberConfirmed xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">true</PhoneNumberConfirmed>
    <SecurityStamp xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 26</SecurityStamp>
    <TwoFactorEnabled xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">true</TwoFactorEnabled>
    <UserName xmlns="http://schemas.datacontract.org/2004/07/Microsoft.AspNet.Identity.EntityFramework">sample string 33</UserName>
    <ApplicationId>1fa246b0-dea7-4ac7-b72d-f03344d92dc3</ApplicationId>
    <Code>sample string 3</Code>
    <Comment>sample string 22</Comment>
    <CreateDate>2021-01-25T20:43:11.8633032+00:00</CreateDate>
    <FailedPasswordAnswerAttemptCount>20</FailedPasswordAnswerAttemptCount>
    <FailedPasswordAnswerAttemptWindowStart>2021-01-25T20:43:11.8633032+00:00</FailedPasswordAnswerAttemptWindowStart>
    <FailedPasswordAttemptCount>18</FailedPasswordAttemptCount>
    <FailedPasswordAttemptWindowStart>2021-01-25T20:43:11.8633032+00:00</FailedPasswordAttemptWindowStart>
    <IsAnonymous>true</IsAnonymous>
    <IsApproved>true</IsApproved>
    <IsLockedOut>true</IsLockedOut>
    <LastActivityDate>2021-01-25T20:43:11.8633032+00:00</LastActivityDate>
    <LastLockoutDate>2021-01-25T20:43:11.8633032+00:00</LastLockoutDate>
    <LastLoginDate>2021-01-25T20:43:11.8633032+00:00</LastLoginDate>
    <LastPasswordChangedDate>2021-01-25T20:43:11.8633032+00:00</LastPasswordChangedDate>
    <LoweredEmail>sample string 9</LoweredEmail>
    <MobileAlias>sample string 5</MobileAlias>
    <MobilePIN>sample string 8</MobilePIN>
    <Password>sample string 1</Password>
    <PasswordAnswer>sample string 11</PasswordAnswer>
    <PrimarySchoolRole>sample string 10</PrimarySchoolRole>
    <UserRole>sample string 2</UserRole>
  </User>
</ArrayOfUser>