Endpoint
/v1/ad/distinguished-names/{dn}/object
GET
Return the AD account object that has the given distinguished name.
Parameters
Name |
Description |
Required |
dn |
The distinguished name 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"
}
}
}
}