Endpoint

/v1/ad/sids/{sid}/object

GET

Return the AD account object that has the given SID.

Parameters

Name Description Required
sid The SID to use to look up an AD user or group. Yes

Response

Codes

Code Description
200 Return value on success

Schema

{
  "description": "ad_ldap_object",
  "type": "object",
  "properties": {
    "dn": {
      "description": "dn",
      "type": "string"
    },
    "sid": {
      "description": "sid",
      "type": "string"
    },
    "uid": {
      "description": "uid",
      "type": "number"
    },
    "gid": {
      "description": "gid",
      "type": "number"
    },
    "name": {
      "description": "name",
      "type": "string"
    },
    "groups": {
      "type": "array",
      "items": {
        "description": "groups",
        "type": "string"
      }
    },
    "primary_group_sid": {
      "description": "primary_group_sid",
      "type": "string"
    },
    "classes": {
      "type": "array",
      "items": {
        "description": "classes",
        "type": "string"
      }
    }
  }
}