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

ldapConnection

 
 

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


Purpose

The ldapConnection OMX component allows you to perform actions on the entire LDAP instance by using the omldap library functions.

The ldapConnection OMX component is created by the OmniMark LDAP dynamic link library file ("omldap.dll" or "omldap.so"). The related include file ("omldap.xin") defines the interface to ldapConnection.

To use omldap OMX components in your program, you must put the following include statement in your program:

        include "omldap.xin"

Within your program, you can create as many instances of the ldapConnection OMX component as you require by declaring global and local variables of type "ldapConnection". For example:

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

Once you have declared your ldapConnection OMX variables, you can open them with the function ldapOpen in the OmniMark LDAP library to create connections to LDAP servers. For example:

  include "omldap.xin"
  
  process
     local ldapConnection my-ldap
     ...
     set my-ldap to ldapOpen 'www.omnimark.com'
      port 123
      user "cn=guest"
      password "omnimark"

        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.