GET GetCurrent

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

CommonUser
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Nom

string

String length: inclusive between 0 and 50

Prenom

string

String length: inclusive between 0 and 50

Email

string

String length: inclusive between 0 and 256

EmailConfirmed

boolean

None.

PhoneNumber

string

String length: inclusive between 0 and 128

PhoneNumberConfirmed

boolean

None.

TwoFactorEnabled

boolean

None.

LockoutEndDateUtc

date

None.

LockoutEnabled

boolean

None.

AccessFailedCount

integer

None.

UserName

string

String length: inclusive between 0 and 256

ProfileImageContent

string

None.

ProfileImageName

string

None.

NewProfileImageContent

string

None.

Roles

Collection of CommonRole

None.

ProfileImageUrl

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "b6fd3edc-2541-4079-9de6-5281f121f37e",
  "Nom": "sample string 2",
  "Prenom": "sample string 3",
  "Email": "sample string 4",
  "EmailConfirmed": true,
  "PhoneNumber": "sample string 6",
  "PhoneNumberConfirmed": true,
  "TwoFactorEnabled": true,
  "LockoutEndDateUtc": "2026-01-25T17:52:10.3751111+01:00",
  "LockoutEnabled": true,
  "AccessFailedCount": 10,
  "UserName": "sample string 11",
  "ProfileImageContent": "sample string 12",
  "ProfileImageName": "sample string 13",
  "NewProfileImageContent": "sample string 14",
  "Roles": [
    {
      "Id": "1210e975-4857-40e2-aa1b-335b2b3d38e0",
      "Nom": "sample string 2"
    },
    {
      "Id": "1210e975-4857-40e2-aa1b-335b2b3d38e0",
      "Nom": "sample string 2"
    }
  ],
  "ProfileImageUrl": "sample string 15"
}

application/xml, text/xml

Sample:
<CommonUser xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MesHalles.Common.Objects">
  <AccessFailedCount>10</AccessFailedCount>
  <Email>sample string 4</Email>
  <EmailConfirmed>true</EmailConfirmed>
  <Id>b6fd3edc-2541-4079-9de6-5281f121f37e</Id>
  <LockoutEnabled>true</LockoutEnabled>
  <LockoutEndDateUtc>2026-01-25T17:52:10.3751111+01:00</LockoutEndDateUtc>
  <NewProfileImageContent>sample string 14</NewProfileImageContent>
  <Nom>sample string 2</Nom>
  <PhoneNumber>sample string 6</PhoneNumber>
  <PhoneNumberConfirmed>true</PhoneNumberConfirmed>
  <Prenom>sample string 3</Prenom>
  <ProfileImageContent>sample string 12</ProfileImageContent>
  <ProfileImageName>sample string 13</ProfileImageName>
  <ProfileImageUrl>sample string 15</ProfileImageUrl>
  <Roles>
    <CommonRole>
      <Id>1210e975-4857-40e2-aa1b-335b2b3d38e0</Id>
      <Nom>sample string 2</Nom>
    </CommonRole>
    <CommonRole>
      <Id>1210e975-4857-40e2-aa1b-335b2b3d38e0</Id>
      <Nom>sample string 2</Nom>
    </CommonRole>
  </Roles>
  <TwoFactorEnabled>true</TwoFactorEnabled>
  <UserName>sample string 11</UserName>
</CommonUser>