Function EN Version 10.02

@ADSISearchObjectExecuteSearch

Internet

Syntax

@ADSISearchObjectExecuteSearch(ADSIHANDLE;TEXTSEARCHFILTER);

Description

Executes the search and returns a ADSISEARCHRESULTHANDLE for the result.
Rueckgabe ADSISEARCHRESULTHANDLE or @Error;

ADSIHANDLE:
ADSIHANDLE through which the connection was opened via @ADSIOpenSearchObject to the DC was established.

TEXT TEXTSEARCHFILTER:
An AD filter string used to restrict the search result.

Example: @ADSISearchObjectExecuteSearch(ADSIHANDLE;TEXTSEARCHFILTER);

ADSISearchResult:=@ADSISearchObjectExecuteSearch(ADSIObj;"(&(objectCategory=person)(objectClass=user))");
Ret:=@ADSISearchObjectCloseSearch(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.