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