#include <ldap.h> void ldap_free_sort_keylist( LDAPsortkey **sortKeyList)
The ldap_free_sort_keylist() function is used to free all the memory used by the sort key list. This function must be called after the ldap_create_sort_control() function has completed.
See Sorted LDAP Search Results for usage information about the functions used to perform sorting of entries returned from the server following an LDAP search operation.
No IBM® i authority is required. All authority checking is done by the LDAP server.
None.
See the example that uses ldap_create_sort_keylist(), ldap_create_sort_control(), ldap_free_sort_keylist(), and ldap_parse_sort_control() to perform an LDAP sorted search in ldap_create_sort_keylist() --Create a Structure with Sort Key Values used when Sorting Search Results.
[ Back to top | LDAP APIs | APIs by category ]