ADS_SCOPE_* constants

Constants prefixed with ADS_SCOPE_* specify the scope of a query and are used by IDirectorySearch.

#define ADS_SCOPE_BASE       0
#define ADS_SCOPE_ONELEVEL   1
#define ADS_SCOPE_SUBTREE    2
 

Constants

ADS_SCOPE_BASE
Specifies the base level node for the scope of the query.
ADS_SCOPE_ONELEVEL
Specified the query is limited to one level of the object hierarchy.
ADS_SCOPE_SUBTREE
Specifies the query is limited to the specified subtree of the object hierarchy.