ldap.close

function

Library: LDAP support (OMLDAP)
Import : omldap.xmd

Declaration
define external function ldap.close
     value  ldap.connection connection

Argument definitions

connection
The connection to an LDAP server.


Purpose

The ldap.close 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:

  import "omldap.xmd" prefixed by ldap.
  
  process
     local ldap.connection my-ldap
  
     set my-ldap to ldap.open "www.stilo.com"
     ldap.close my-ldap