Platform SDK: Active Directory, ADSI, and Directory Services

Specifying Other Search Options

Active Directory™ enables you to control how the search is performed:

To set these options, call IDirectorySearch::SetSearchPreference and specify the options as an array of ADS_SEARCHPREF_INFO structures.