<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.0.0 -",
    "visionOS: 1.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "DeviceManagement",
  "identifier" : "/documentation/DeviceManagement/StatusAccountListLDAP",
  "metadataVersion" : "0.1.0",
  "role" : "Object",
  "symbol" : {
    "kind" : "Object",
    "modules" : [
      "Device Management"
    ],
    "preciseIdentifier" : "rmdm-status:StatusAccountListLDAP"
  },
  "title" : "StatusAccountListLDAP"
}
-->

# StatusAccountListLDAP

The status item that lists the devices’s Lightweight Directory Access Protocol (LDAP) accounts.

```
object StatusAccountListLDAP
```

## Discussion

### Status item availability

|||
|--------------------------------|---------------------------------|
|Allowed in supervised enrollment|iOS, macOS, Shared iPad, visionOS|
|Allowed in device enrollment    |iOS, Shared iPad, visionOS       |
|Allowed in user enrollment      |iOS, macOS, Shared iPad, visionOS|
|Allowed in local enrollment     |iOS, macOS, Shared iPad, visionOS|
|Allowed in system scope         |iOS, visionOS                    |
|Allowed in user scope           |macOS, Shared iPad               |

### Status item example

**New or updated account:**

Reports a new or updated account.

```json
{
    "account": {
        "list": {
            "ldap": [
                {
                    "identifier": "G2E12309-JG22-8F88-EI51-567890123456",
                    "declaration-identifier": "com.example.ldap-account",
                    "visible-name": "Corporate Directory",
                    "hostname": "ldap.example.com",
                    "port": 636,
                    "username": "user@example.com",
                    "is-enabled": true
                }
            ]
        }
    }
}
```

**Removed account:**

Reports a removed account.

```json
{
    "account": {
        "list": {
            "ldap": [
                {
                    "identifier": "G2E12309-JG22-8F88-EI51-567890123456",
                    "_removed": true
                }
            ]
        }
    }
}
```

## Topics

### Objects

[`object StatusAccountListLDAPAccountObject`](/documentation/DeviceManagement/StatusAccountListLDAPAccountObject)

An LDAP account.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)