Function EN Version 10.02

@ADSISearchObjectCloseSearch

Internet

Syntax

@ADSISearchObjectCloseSearch(ADSIHANDLE;ADSISEARCHRESULT);

Description

Closes an ADSIHANDLE and releases the memory associated with the ADSISEARCHRESULTHANDLE ADSISEARCHRESULT.
Returns POTVAR or @Error;

Example: @ADSISearchObjectCloseSearch(ADSIHANDLE;ADSISEARCHRESULT);

ADSIObj:=@ADSIOpenSearchObject("LDAP://mycompany.local/CN=Users,DC=mycompany,DC=local";"";"");
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.