Account:LDAP ()

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

iOS(15.0)macOS(13.0)visionOS(1.1)
Branch: release

Settings (9)

SettingTypeRequiredDefaultManual InstallSupported OS
Account Name
VisibleName
The name that apps show to the user for this LDAP account. If not present, the system generates a suitable default.
stringoptional
Yes
iOS (15.0+)macOS (13.0+)visionOS (1.1+)
Server Host Name
HostName
The hostname or IP address of the LDAP server.
stringrequired
Yes
iOS (15.0+)macOS (13.0+)visionOS (1.1+)
Server Port
Port
The port number or IP address of the LDAP server.
integeroptional
Yes
iOS (15.0+)macOS (13.0+)visionOS (1.1+)
Authentication Credentials Asset Reference
AuthenticationCredentialsAssetReference
The identifier of an asset declaration that contains the credentials for this account. Set the corresponding asset type to `CredentialUserNameAndPassword`.
stringoptional
Yes
iOS (15.0+)macOS (13.0+)visionOS (1.1+)
Search Settings
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.
1 subkey
arrayoptional
Yes
iOS (15.0+)macOS (13.0+)visionOS (1.1+)
└─
An LDAP Search Setting
SearchSettingsItem
3 subkeys
dictionary
Yes
iOS (15.0+)macOS (13.0+)visionOS (1.1+)
└─ └─
Visible Description
VisibleDescription
The description of this search setting in the Contacts and Settings apps. If not present, the apps display no name.
stringoptional
Yes
iOS (15.0+)macOS (13.0+)visionOS (1.1+)
└─ └─
Search Base
SearchBase
The path to the node where a search starts. For example, `ou=people,o=example corp`.
stringrequired
Yes
iOS (15.0+)macOS (13.0+)visionOS (1.1+)
└─ └─
Scope
Scope
The type of recursion to use in the search: - `Base`: The search uses only the `SearchBase` node. - `OneLevel`: The search uses the `SearchBase` node and its immediate children. - `Subtree`: The search uses the `SearchBase` node and all its children, regardless of depth.
stringoptionalSubtree
Yes
iOS (15.0+)macOS (13.0+)visionOS (1.1+)