function
|
Library: LDAP support (OMLDAP legacy)
Include: omldap.xin |
define external function ldapOpen
value string host
port value integer port optional
user value string user optional
password value string password optional
Argument definitions
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