CurrentAdministratorModel

Details about the currently logged-in administrator.

Properties

NameDescription Additional information
Name

The logged-in user's user name, in SAM format (DOMAIN\user).

Type: String

Sid

The logged-in user's SID.

Type: String

IsSuperAdmin

If true, the logged-in user is a super admin. If false, the logged-in user has a restricted role and/or scope.

Type: Boolean

MemberOf

List of the administrator objects that apply to the currently logged-in user. For example the user may be a member of multiple Active Directory groups that are App Orchestration administrators.

Type: Array of AdministratorModel

AuthorizedScopes

List of the scopes which the currently logged-in user has some level of access.

Type: Array of AuthorizationScopeModel

Sample

application/json

Sample:
{
  "Name": "DOMAIN\\joe",
  "Sid": "S-1-5-21-1180699209-877415012-3182924384-1004",
  "MemberOf": [
    {
      "Href": "[api:Administrators(c52689f8-7ae8-4f99-ab33-08a4814e6ab9)]",
      "RelatedActions": [
        {
          "Name": "UpdateAdministrator",
          "References": [
            {
              "Href": "[api:Administrators(5e531466-5c6d-41c8-97e1-d814d261f323)]",
              "Name": "DOMAIN\\ReadOnlyAdmins",
              "Id": "5e531466-5c6d-41c8-97e1-d814d261f323"
            }
          ]
        }
      ],
      "Id": "c52689f8-7ae8-4f99-ab33-08a4814e6ab9",
      "Name": "DOMAIN\\ReadOnlyAdmins",
      "ChangeId": "4",
      "IsUserGroup": true,
      "Category": "SingleRole",
      "RoleId": "FCE10C6A-4518-4949-A88A-6081B57E0EA9",
      "RoleName": "ReadOnly",
      "IsRoleScoped": true,
      "RoleScopes": [
        {
          "Id": "5e531466-5c6d-41c8-97e1-d814d261f322",
          "Category": "Tenant",
          "Name": "Tenant 1"
        }
      ],
      "Tags": [
        "tag"
      ],
      "CustomProperties": [
        {
          "Name": "myProperty",
          "Value": "myValue"
        }
      ]
    }
  ],
  "AuthorizedScopes": [
    {
      "Id": "5e531466-5c6d-41c8-97e1-d814d261f322",
      "Category": "Tenant",
      "Name": "Tenant 1"
    }
  ]
}