swirl
Guide to OmniMark 7   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
 
 

ldapConnection

 

 

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"

   
 

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

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

Copyright © Stilo Corporation, 1988-2005.