Active Directory/Connect: Difference between revisions

From Rosetta Code
Content added Content deleted
m (Moved to Enviro cat)
No edit summary
Line 1: Line 1:
{{task|Programming environment operations}}
{{task|Programming environment operations}}
[[Category:Less_Than_5_Examples]]


=={{header|VBScript}}==
=={{header|VBScript}}==

Revision as of 14:47, 11 May 2009

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