ADS_SCOPEENUM

Values from the ADS_SCOPEENUM enumeration specify the search scope.

typedef enum {
    ADS_SCOPE_BASE        = 0,
    ADS_SCOPE_ONELEVEL    = 1,
    ADS_SCOPE_SUBTREE     = 2
    }    ADS_SCOPEENUM;
 

Elements

ADS_SCOPE_BASE
Limit the search to the base level.
ADS_SCOPE_ONELEVEL
Limit the search to only one level.
ADS_SCOPE_SUBTREE
Limit the search to the given subtree.