Overview
Executes a search on specified rootDN or host and returns the array of LDAP entries.Array<object> $Domain.ExecuteLdapQuery(rootDnOrHost: string, attributes: string, username: string, password: string)
Arguments
string rootDnOrHost
Root DN or host name to search.
string attributes
Attributes to return. Optional.
string username
Username to authenticate. Optional.
string password
Password to authenticate. Optional.
Returns
Array of LDAP entries.Remarks
Before calling this method, LDAP connection settings must be configured in the application settings.