GET api_v2/AccountUsers/CheckAdminUserRole?accountUserId={accountUserId}

Проверить роли пользователя

Request Information

Parameters

NameDescriptionAdditional information
accountUserId
ID пользователя

Define this parameter in the request URI.

Response Information

Список ролей пользователя

Response body formats

application/xml, text/xml

Sample:
<Result>
  <ID>3b550e47-a718-445d-bdfc-4e980267043b</ID>
  <AccountID>2d0993f6-32e9-42a5-a929-1991f58ee943</AccountID>
  <Login>sample string 3</Login>
  <Email>sample string 4</Email>
  <FullPhoneNumber>sample string 5</FullPhoneNumber>
  <FirstName>sample string 6</FirstName>
  <LastName>sample string 7</LastName>
  <MiddleName>sample string 8</MiddleName>
  <CorpUserID>b32f6b94-938d-4581-84d4-3bd3f259f32b</CorpUserID>
  <CorpUserSyncStatus>sample string 9</CorpUserSyncStatus>
  <Removed>true</Removed>
  <CreationDate>sample string 11</CreationDate>
  <IsManager>true</IsManager>
  <Activated>true</Activated>
</Result>

application/json, text/json

Sample:
{
  "ID": "3b550e47-a718-445d-bdfc-4e980267043b",
  "AccountID": "2d0993f6-32e9-42a5-a929-1991f58ee943",
  "Login": "sample string 3",
  "Email": "sample string 4",
  "FullPhoneNumber": "sample string 5",
  "FirstName": "sample string 6",
  "LastName": "sample string 7",
  "MiddleName": "sample string 8",
  "CorpUserID": "b32f6b94-938d-4581-84d4-3bd3f259f32b",
  "CorpUserSyncStatus": "sample string 9",
  "Removed": true,
  "CreationDate": "sample string 11",
  "IsManager": true,
  "Activated": true
}