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

ldapEntryAdvance

 
 

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

Declaration

  define external function ldapEntryAdvance
             value ldapAttribute entry

Argument definitions

entry
An ldapAttribute containing the current entry.


Purpose

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

        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 ] [ LEGACYLIBRARIES ] [ ERRORS ]

OmniMark 7.1.2 Documentation Generated: June 28, 2005 at 5:45:27 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © Stilo Corporation, 1988-2005.