Active Directory/Connect: Difference between revisions

From Rosetta Code
Content added Content deleted
No edit summary
(RC-ified)
Line 1: Line 1:
{{task}}
==VBScript==

=={{header|VBScript}}==
Creating the normal connection to AD
Creating the normal connection to AD
Set objConn = CreateObject("ADODB.Connection")
Set objConn = CreateObject("ADODB.Connection")
Line 6: Line 8:
objConn.Open
objConn.Open


[[Category:VBScript]] [[Category:Active Directory]] [[Category:Programming Tasks]]
[[Category:Active Directory]]

Revision as of 18:14, 10 August 2008

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