swirl
Guide to OmniMark 8   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
      Other Library Functions  
function  

ldapEntryExists

 
 

Library: LDAP support (OMLDAP) legacy library
Include: omldap.xin
Return type: Switch

Returns: True or false.


Declaration

define external switch function ldapEntryExists
              value ldapAttribute entry

Argument definitions

entry
The name of an entry.


Purpose

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

        Other Library Functions
   ldapAddEntry
   ldapAttribute
   ldapAttributeGetValue
   ldapAttributeGetValues
   ldapClose
   ldapConnection
   ldapCreateAttribute
   ldapDeleteEntry
   ldapEntryAdvance
   ldapEntryExists
   ldapEntryGetName
   ldapModifyEntry
   ldapOpen
   ldapRenameEntry
   ldapSearch
   ldap_IsVersionCompatible
   ldap_LibraryVersion
 
 

Top [ INDEX ] [ CONCEPTS ] [ TASKS ] [ SYNTAX ] [ LIBRARIES ] [ LEGACY LIBRARIES ] [ ERRORS ]

OmniMark 8.2.0 Documentation Generated: March 13, 2008 at 3:27:39 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2008.