SAS 9.1.3 Integration Technologies » Developer's Guide


LDAP CALL Routine Interface
LDAPS_ADD
LDAPS_ATTRNAME
LDAPS_ATTRVALUE
LDAPS_CLOSE
LDAPS_DELETE
LDAPS_ENTRY
LDAPS_FREE
LDAPS_MODIFY
LDAPS_OPEN
LDAPS_SETOPTIONS
LDAPS_SEARCH
Coding Examples
Adding a Directory Entry to an LDAP Server
Searching an LDAP Directory
Directory Services

LDAPS_FREE

Frees search resources.

Syntax

CALL LDAPS_FREE(sHandle, rc);

sHandle
Numeric, input.
Specifies the search handle returned by the LDAPS_SEARCH CALL routine. The search handle identifies the entry list returned in the search.

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

Details

When invoked, the LDAPS_FREE CALL routine frees all resources associated with the specified search handle. The resources freed include all returned entry and attribute information, as shown in the following example:

call ldaps_free(sHandle, rc);