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

ldapEntryAdvance

 
 

Library: LDAP support (OMLDAP legacy)
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
 
 

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

OmniMark 9.1.0 Documentation Generated: September 2, 2010 at 1:38:10 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2010.