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

ldapOpen

 
 

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

Declaration

define external function ldapOpen
              value string  host
     port     value integer port     optional
     user     value string  user     optional
     password value string  password optional

Argument definitions

host
The host you want to connect to.
port
The port number you want to connect to.
user
The userid you want to use to connect to the LDAP server. If not specified, the userid 'anonymous' will be used.
password
The password you use to connect to the LDAP server. If not specified, the password will be blank.


Purpose

The ldapOpen function opens a connection to an LDAP server.

In this example, a connection to an LDAP server is opened and then immediately terminated:

          include "omldap.xin"
  
          process
             local ldapConnection my-ldap
             set my-ldap to ldapOpen "www.omnimark.com"
             ldapClose my-ldap

        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.