swirl Guide to OmniMark 6   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesOMX VariablesErrors
 
      Other Library Functions  
function   ldapEntryExists   Available in:
Enterprise

Library: omldap - LDAP support
Include: omldap.xin
Return type: Switch
Returns:       

True or false.


Declaration

  define external switch function ldapEntryExists
                value ldapAttribute entry
  where
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
   ldap_IsVersionCompatible
   ldap_LibraryVersion
   ldapAddEntry
   ldapAttribute
   ldapAttributeGetValue
   ldapAttributeGetValues
   ldapClose
   ldapConnection
   ldapCreateAttribute
   ldapDeleteEntry
   ldapEntryAdvance
   ldapEntryExists
   ldapEntryGetName
   ldapModifyEntry
   ldapOpen
   ldapRenameEntry
   ldapSearch
 
----  

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

OmniMark 6.5 Documentation Generated: December 23, 2002 at 6:25:27 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © OmniMark Technologies Corporation, 1988-2002.