WebLdapDisconnect Function

Action

Closes the connection for LDAP transactions that was established with WebLdapConnect.

Include file

WebAPI.bdh

Syntax

WebLdapDisconnect( inout hLDAP: number );

Return value

  • true if disconnection was completed successfully

  • false otherwise

Parameter Description
hLDAP Handle to a Web connection that was created by WebLdapConnect

Example

dcltrans 
  transaction TWebLdap 
  var
    hLdap: number; 
  begin 
    WebLdapConnect(hLdap, "standardhost", WEB_PORT_LDAP); 
    WebLdapDisconnect(hLdap); 
  end TWebLdap;

SilkEssential sample

LDAP.sep