---
title: AccountLDAP
framework: devicemanagement
role: symbol
role_heading: Object
path: devicemanagement/accountldap
---

# AccountLDAP

The declaration to configure a Lightweight Directory Access Protocol (LDAP) account.

## Declaration

```data
object AccountLDAP
```

## Properties

AuthenticationCredentialsAssetReference: The identifier of an asset declaration that contains the credentials for this account. Set the corresponding asset type to CredentialUserNameAndPassword. HostName: The hostname or IP address of the LDAP server. Port: The port number or IP address of the LDAP server. SearchSettings: The array of nodes to start LDAP searches from. There must be at least one node for this account to be useful. macOS only searches one node and ignores other items in the array. VisibleName: The name that apps show to the user for this LDAP account. If not present, the system generates a suitable default.

## Discussion

Discussion Specify com.apple.configuration.account.ldap as the declaration type. Configuration availability  |   |   |   |   |   |   |   |  Configuration example This configuration sets up an LDAP directory account. {     "Type": "com.apple.configuration.account.ldap",     "Identifier": "EB13EE2B-5D63-4EBA-810F-5B81D07F5017",     "ServerToken": "E180CA9A-F089-4FA3-BBDF-94CC159C4AE8",     "Payload": {         "VisibleName": "Work Directory",         "HostName": "ldap.example.com",         "SearchSettings": [             {                 "VisibleName": "Search Work",                 "SearchBase": "dc=example,dc=com",                 "Scope": "Subtree"             }         ]     } }

## Topics

### Objects

- [AccountLDAPSearchSettingsItemObject](devicemanagement/accountldapsearchsettingsitemobject.md)

## See Also

### Configurations

- [AccountCalDAV](devicemanagement/accountcaldav.md)
- [AccountCardDAV](devicemanagement/accountcarddav.md)
- [AccountExchange](devicemanagement/accountexchange.md)
- [AccountGoogle](devicemanagement/accountgoogle.md)
- [AccountMail](devicemanagement/accountmail.md)
- [AccountSubscribedCalendar](devicemanagement/accountsubscribedcalendar.md)
- [AppManaged](devicemanagement/appmanaged.md)
- [AppSettings](devicemanagement/appsettings.md)
- [AudioAccessorySettings](devicemanagement/audioaccessorysettings.md)
- [ContentCaching](devicemanagement/contentcaching.md)
- [DiskManagementSettings](devicemanagement/diskmanagementsettings.md)
- [ExtensibleSSO](devicemanagement/extensiblesso.md)
- [ExternalIntelligenceSettings](devicemanagement/externalintelligencesettings.md)
- [IntelligenceSettings](devicemanagement/intelligencesettings.md)
- [KeyboardSettings](devicemanagement/keyboardsettings.md)
