Active Directory/Connect

From Rosetta Code
Revision as of 18:14, 10 August 2008 by rosettacode>Mwn3d (RC-ified)
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