Contents LDAP Interface Previous Next

LDAPS_CLOSE

Closes a connection to an LDAP server.

Syntax

CALL LDAPS_CLOSE(lHandle, rc);

lHandle
Numeric, input.
Specifies the connection handle returned by the LDAPS_OPEN CALL routine.

rc
Numeric, output.
Receives a return code that specifies success or failure.

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 associated with this connection will no longer be valid.

Example

The following example closes an open connection to an LDAP server.

call ldaps_close(lHandle, rc);

Contents LDAP Interface Previous Next