Function
EN
Version 10.02
@ADSISearchPreferencesArrayAddScope
Internet
Syntax
@ADSISearchPreferencesArrayAddScope(ADSISPARRAY;FNSCOPE);
Description
Sets the scope search preferences for an object connection to a DC and returns a status.
Returns TRUE or @Error;
FN FNSCOPE Values:
ADS_SCOPE_BASE = 0
ADS_SCOPE_ONELEVEL = 1
ADS_SCOPE_SUBTREE = 2
ADSISPARRAY:
Search-Preferences-Array that was created via @ADSISearchPreferencesArrayInit was created.
Example: @ADSISearchPreferencesArrayAddScope(ADSISPARRAY;FNSCOPE);
Ret:=@ADSISearchPreferencesArrayAddScope(ADSISearchPrefs;2);
Loop:=@ADSISearchObjectGetNextRow(ADSIObj;ADSISearchResult);
This example outputs the data from all columns of all user objects for the DC "mycompany" to the ApiLog (limited to MaxRows=11).
Note : This text was machine-translated and may contain inaccuracies.
