|  | 
 | ||||
|        | |||||
|  | ||||||
| Other Library Functions | ||||||
| function | ldapEntryExists | 
| Library: LDAP support (OMLDAP) legacy library Include: omldap.xin | Return type: Switch Returns: True or false. | 
define external switch function ldapEntryExists
              value ldapAttribute entry
Argument definitions
This function returns a switch value specifying whether an entry exists in the current ldapAttribute.
This example shows how to exit when there are no more LDAP entries (ldapEntryExists returns false).
     include "omldap.xin"
  
     process
        local ldapAttribute my-entry variable
        ...
        repeat
           exit when not ldapEntryExists my-entry
  
       ; display the entry name
           output ldapEntryGetName my-entry
  
        ; display all attributes
           ...
  
  again
Copyright © Stilo International plc, 1988-2008.