Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Before calling this method, LDAP connection settings must be configured in the application settings.

Example

Code Block
languagejs
var entries = $Domain.ExecuteLdapQuery('dc=example,dc=com', 'cn,mail', '(&(objectClass=user)(cn=*))');
for (var i = 0; i < entries.length; i++) {
   console.log(entries[i].cn + ' - ' + entries[i].mail);
}
`