function
Library: LDAP support (OMLDAP legacy)
Include: omldap.xin |
define external function ldapEntryAdvance value ldapAttribute entry
Argument definitions
After a search using ldapSearch, this function will advance to the next entry of the search result.
Example
include "omldap.xin" process local ldapAttribute my-entry variable ldapSearch my-ldap base "O=omnimark.com" scope LDAP_SCOPE_ONELEVEL where"(Department=rd)" entry my-entry select "name" select "employeenumber" select "phonenumber" ; advance through all the entries repeat exit when not ldapEntryExists my-entry ... ldapEntryAdvance my-entry again