LDAPS_CLOSE

Closes a connection to an LDAP server

Syntax

CALL LDAPS_CLOSE(lHandle, rc);

Required Arguments

lHandle
specifies the connection handle that is returned by the LDAPS_OPEN CALL routine.
Type:Numeric, Input
rc
receives a return code that specifies success or failure.
Type:Numeric, Output

Details

When invoked, the LDAPS_CLOSE CALL routine closes the connection to the LDAP server. All resources associated with the connection are freed. Therefore, any valid search handles that are associated with this connection are no longer valid.

Example

The following example closes an open connection to an LDAP server.
call ldaps_close(lHandle, rc);