GET api/IdentityUser/{id}?type={type}

Gets a list of user

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Role Id.

string

Required

type

List Type.

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of IdentityUser
NameDescriptionTypeAdditional information
UserId

string

None.

UserName

string

None.

NormalizedUserName

string

None.

Email

string

None.

NormalizedEmail

string

None.

EmailConfirmed

boolean

None.

PasswordHash

string

None.

SecurityStamp

string

None.

ConcurrencyStamp

string

None.

PhoneNumber

string

None.

PhoneNumberConfirmed

boolean

None.

TwoFactorEnabled

boolean

None.

LockoutEnd

date

None.

LockoutEnabled

boolean

None.

AccessFailedCount

integer

None.

OrgId

integer

None.

RoleCount

integer

None.

AutoCompleteText

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "UserId": "sample string 1",
    "UserName": "sample string 2",
    "NormalizedUserName": "sample string 3",
    "Email": "sample string 4",
    "NormalizedEmail": "sample string 5",
    "EmailConfirmed": true,
    "PasswordHash": "sample string 7",
    "SecurityStamp": "sample string 8",
    "ConcurrencyStamp": "sample string 9",
    "PhoneNumber": "sample string 10",
    "PhoneNumberConfirmed": true,
    "TwoFactorEnabled": true,
    "LockoutEnd": "2025-01-15T11:18:11.2048871+00:00",
    "LockoutEnabled": true,
    "AccessFailedCount": 14,
    "OrgId": 1,
    "RoleCount": 1,
    "AutoCompleteText": "sample string 15"
  },
  {
    "UserId": "sample string 1",
    "UserName": "sample string 2",
    "NormalizedUserName": "sample string 3",
    "Email": "sample string 4",
    "NormalizedEmail": "sample string 5",
    "EmailConfirmed": true,
    "PasswordHash": "sample string 7",
    "SecurityStamp": "sample string 8",
    "ConcurrencyStamp": "sample string 9",
    "PhoneNumber": "sample string 10",
    "PhoneNumberConfirmed": true,
    "TwoFactorEnabled": true,
    "LockoutEnd": "2025-01-15T11:18:11.2048871+00:00",
    "LockoutEnabled": true,
    "AccessFailedCount": 14,
    "OrgId": 1,
    "RoleCount": 1,
    "AutoCompleteText": "sample string 15"
  }
]

application/xml, text/xml

Sample:
<ArrayOfIdentityUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomersdbWebShared.Models">
  <IdentityUser>
    <AccessFailedCount>14</AccessFailedCount>
    <AutoCompleteText>sample string 15</AutoCompleteText>
    <ConcurrencyStamp>sample string 9</ConcurrencyStamp>
    <Email>sample string 4</Email>
    <EmailConfirmed>true</EmailConfirmed>
    <LockoutEnabled>true</LockoutEnabled>
    <LockoutEnd xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2025-01-15T11:18:11.2048871Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </LockoutEnd>
    <NormalizedEmail>sample string 5</NormalizedEmail>
    <NormalizedUserName>sample string 3</NormalizedUserName>
    <OrgId>1</OrgId>
    <PasswordHash>sample string 7</PasswordHash>
    <PhoneNumber>sample string 10</PhoneNumber>
    <PhoneNumberConfirmed>true</PhoneNumberConfirmed>
    <RoleCount>1</RoleCount>
    <SecurityStamp>sample string 8</SecurityStamp>
    <TwoFactorEnabled>true</TwoFactorEnabled>
    <UserId>sample string 1</UserId>
    <UserName>sample string 2</UserName>
  </IdentityUser>
  <IdentityUser>
    <AccessFailedCount>14</AccessFailedCount>
    <AutoCompleteText>sample string 15</AutoCompleteText>
    <ConcurrencyStamp>sample string 9</ConcurrencyStamp>
    <Email>sample string 4</Email>
    <EmailConfirmed>true</EmailConfirmed>
    <LockoutEnabled>true</LockoutEnabled>
    <LockoutEnd xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
      <d3p1:DateTime>2025-01-15T11:18:11.2048871Z</d3p1:DateTime>
      <d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
    </LockoutEnd>
    <NormalizedEmail>sample string 5</NormalizedEmail>
    <NormalizedUserName>sample string 3</NormalizedUserName>
    <OrgId>1</OrgId>
    <PasswordHash>sample string 7</PasswordHash>
    <PhoneNumber>sample string 10</PhoneNumber>
    <PhoneNumberConfirmed>true</PhoneNumberConfirmed>
    <RoleCount>1</RoleCount>
    <SecurityStamp>sample string 8</SecurityStamp>
    <TwoFactorEnabled>true</TwoFactorEnabled>
    <UserId>sample string 1</UserId>
    <UserName>sample string 2</UserName>
  </IdentityUser>
</ArrayOfIdentityUser>