ldapClose

function

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

Declaration
define external function ldapClose
     value  ldapConnection connection

Argument definitions

connection
The connection to an LDAP server.


Purpose

The ldapClose function closes a connection to an LDAP server and releases the connection's resources.

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