Active Directory/Connect

From Rosetta Code
Revision as of 00:14, 23 August 2008 by rosettacode>Mwn3d (Moved to Enviro cat)
Task
Active Directory/Connect
You are encouraged to solve this task according to the task description, using any language you may know.

VBScript

Creating the normal connection to AD

Set objConn = CreateObject("ADODB.Connection")
Set objCmd = CreateObject("ADODB.Command")
objConn.Provider = "ADsDSOObject"
objConn.Open