PyIDirectorySearch.ExecuteSearch

int = ExecuteSearch(filter, attrNames )

Executes a search and passes the results to the caller. Some providers, such as LDAP, will defer the actual execution until the caller invokes the PyIDirectorySearch::GetFirstRow method or the PyIDirectorySearch::GetNextRow method.

Parameters

filter : PyUnicode

attrNames : [PyUnicode , ...]

Return Value

The result is an integer search handle. PyIDirectorySearch::CloseSearchHandle should be called to close the handle.