The easiest way would be to write a VB COM object that does the talking to
the Active Directory and get CF to talk to a Method that returns a list or
something like...


HTH

-----Original Message-----
From: Jones, Becky [mailto:[EMAIL PROTECTED]
Sent: Monday, January 19, 2004 16:58
To: CF-Talk
Subject: Vbscript and Coldfusion

i have this vbscript that gets me all the computer names in active
directory.
is there a way i can incorporate this in cf and output the results to a
select drop down box??
thanks for your help!
bec.

sDomain  = "ms"
Set oDomain  = GetObject("WinNT://" & sDomain)
oDomain.Filter  = Array("Computer")
For Each oADobject In oDomain
WScript.Echo oADobject.Name
Next

*************************************************
This e-mail, including any attachments, is intended for the
receipt and use by the intended addressee(s), and may contain
confidential and privileged information. If you are not an intended
recipient of this e-mail, you are hereby notified that any unauthorized
use or distribution of this e-mail is strictly prohibited.
  _____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to