Platform SDK: Active Directory, ADSI, and Directory Services

Result Caching

The ADS_SEARCHPREF_CACHE_RESULTS preference caches the result set on the client. Result caching enables an application to retain a retrieved result set and go through the retrieved rows again. It also enables cursor support (the IDirectorySearch::GetNextRow and IDirectorySearch::GetPreviousRow methods can be used to go up and down the result set).

Recommendations:

The default is for caching to be on.