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>aedc4d12-6d76-412f-935a-d1bfc72208ac</ID>
  <AccountID>33ca4745-a0d7-4ca2-b903-67ab6d75da83</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>1b84c58f-7852-4cba-9bfe-4b0916388e37</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": "aedc4d12-6d76-412f-935a-d1bfc72208ac",
  "AccountID": "33ca4745-a0d7-4ca2-b903-67ab6d75da83",
  "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": "1b84c58f-7852-4cba-9bfe-4b0916388e37",
  "CorpUserSyncStatus": "sample string 9",
  "Removed": true,
  "CreationDate": "sample string 11",
  "IsManager": true,
  "Activated": true
}