Partager via


LDAP Search Functions (Windows Embedded CE 6.0)

1/6/2010

The following table shows the LDAP search functions with a description of the purpose of each.

Programming element Description

ldap_check_filter

This function checks the syntax of a filter.

ldap_count_entries

This function counts the number of search entries that a server returned.

ldap_count_references

This function counts the number of subordinate references that were returned by the server in a response to a search request.

ldap_count_values

This function counts the number of values in a list.

ldap_count_values_len

This function counts the number of values in a list.

ldap_create_page_control

This function creates a simple control for paging results.

ldap_create_sort_control

This function formats a list of sort keys into a search control.

ldap_escape_filter_element

This function converts raw binary data in a filter element to a safe text string that can be passed safely in a search filter.

ldap_first_attribute

This function returns the first attribute for a given directory entry.

ldap_first_entry

This function returns the first entry of a message.

ldap_first_reference

This function returns the first reference from a message.

ldap_get_next_page

This function returns the next page in a sequence of asynchronous paged search results.

ldap_get_next_page_s

This function returns the next page in a sequence of synchronous paged search results.

ldap_get_paged_count

This function records the number of paged results that the server has returned for a search.

ldap_get_values

This function retrieves the list of values of a given attribute.

ldap_get_values_len

This function retrieves the list of values for a given attribute.

ldap_next_attribute

This function returns the next attribute for a given entry.

ldap_next_entry

This function retrieves an entry from a search result chain.

ldap_next_reference

This function retrieves a reference from a search result chain.

ldap_parse_extended_result

This function parses the results of an LDAP extended operation.

ldap_parse_page_control

This function parses the results of a search into pages.

ldap_parse_reference

This function returns a list of subordinate referrals in a search response message.

ldap_parse_result

This function parses responses from the server and returns the appropriate fields.

ldap_parse_sort_control

This function parses the sort control returned by the server.

ldap_result

This function obtains the result of an asynchronous operation.

ldap_search

This function searches the LDAP directory and returns a requested set of attributes for each entry matched.

ldap_search_abandon_page

This function terminates a paged-results search.

ldap_search_ext

This function searches the LDAP directory and returns a requested set of attributes for each entry matched.

ldap_search_ext_s

This function searches the LDAP directory and returns a requested set of attributes for each entry matched.

ldap_search_init_page

This function initializes a search block for a simple paged-results search.

ldap_search_s

This function searches the LDAP directory and returns a requested set of attributes for each entry matched.

ldap_search_st

This function searches the LDAP directory and returns a requested set of attributes for each entry matched. The function is identical to ldap_search_s, except that it takes an additional parameter that specifies a local time-out for the search.

See Also

Reference

LDAP Functions