swirl Guide to OmniMark 5   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesOMX VariablesErrors
 
 
  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 ldapOpenin 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 ] [ OMX ] [ OMX ] [ ERRORS ]

Generated: August 11, 2000 at 3:07:28 pm
If you have any comments about this section of the documentation, send email to docerrors@omnimark.com

Copyright © OmniMark Technologies Corporation, 1988-2000.