Function EN Version 10.02

@ADSIOpenSearchObject

Internet

Syntax

@ADSIOpenSearchObject(TEXTPATH;TEXTUSERNAME;TEXTPASSWORD);

Description

Opens an object connection to an AD server and returns an ADSIHANDLE for the connection.

Example: ADSIOpenSearchObject(TEXTPATH;TEXTUSERNAME;TEXTPASSWORD);

ADSIObj:=@ADSIOpenSearchObject("LDAP://mycompany.local/CN=Users,DC=mycompany,DC=local";"";"");

ADSIObj:=@ADSICloseSearchObject(ADSIObj);

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.