House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

Vbscript and Coldfusion

  << Previous Post |  RSS |  Tree View |  Sort Oldest First |  Subscribe to this Group Next >> 

Vbscript and Coldfusion

thank you!!! this site  <<A HREF="http://www.ldapbrowser.com/>" Jones, Becky 01/19/2004 03:40 PM
nope, it was just a thought.  Perhpas someone around here has done Douglas.Knudsen 01/19/2004 12:53 PM
do u have an example? Jones, Becky 01/19/2004 12:37 PM
why not use CFLDAP against your AD?   Douglas.Knudsen 01/19/2004 12:32 PM
The easiest way would be to write a VB COM object that does the talking to Mike Townend 01/19/2004 12:10 PM
Try CFEXECUTE. Burns, John 01/19/2004 12:09 PM
i have this vbscript that gets me all the computer names in active directory. Jones, Becky 01/19/2004 12:01 PM

01/19/2004 03:40 PM
Author: Jones, Becky Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:29934#150220 thank you!!! this site  <http://www.ldapbrowser.com/>; http://www.ldapbrowser.com/ helped alot.  thanks for the reference nope, it was just a thought.  Perhpas someone around here has done this.  If its in the AD, and teh LDAP stuff is 'on' of course, you should be able to query it.   Here is an example of query user data <cfldap action="QUERY"     name="empl"     attributes="     employeeID,     mail,     memberOf,     st,     name,     sn,     initials,     mobile,     givenName,     displayName,     userPrincipalName,     department,     streetAddress,     facsimileTelephoneNumber,     countryCode,     mailNickname,     l,     distinguishedName,     manager,     sAMAccountName,     extensionAttribute1"     start=" dc=fooey, dc=gooey     sort="sn ASC"     server="foo.goo.com"     port="389"     filter="sn=johnson"               > Check out the LDAP browser from http://www.ldapbrowser.com/ it rawks and should help you build your query.  For example, in our AD I see CN=Computers listing all teh computers participating in the AD.   Note, if your AD admin has not turned on anonymous reads, you will need a UID/PWD. HTH Doug do u have an example? why not use CFLDAP against your AD?   Doug 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.   _____   _____   _____   _____  
01/19/2004 12:53 PM
Author: Douglas.Knudsen Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:29934#150207 nope, it was just a thought.  Perhpas someone around here has done this.  If its in the AD, and teh LDAP stuff is 'on' of course, you should be able to query it.   Here is an example of query user data <cfldap action="QUERY"     name="empl"     attributes="     employeeID,     mail,     memberOf,     st,     name,     sn,     initials,     mobile,     givenName,     displayName,     userPrincipalName,     department,     streetAddress,     facsimileTelephoneNumber,     countryCode,     mailNickname,     l,     distinguishedName,     manager,     sAMAccountName,     extensionAttribute1"     start=" dc=fooey, dc=gooey     sort="sn ASC"     server="foo.goo.com"     port="389"     filter="sn=johnson"               > Check out the LDAP browser from http://www.ldapbrowser.com/ it rawks and should help you build your query.  For example, in our AD I see CN=Computers listing all teh computers participating in the AD.   Note, if your AD admin has not turned on anonymous reads, you will need a UID/PWD. HTH Doug do u have an example? why not use CFLDAP against your AD?   Doug 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.   _____   _____   _____  
01/19/2004 12:37 PM
Author: Jones, Becky Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:29934#150206 do u have an example? why not use CFLDAP against your AD?   Doug 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.   _____   _____  
01/19/2004 12:32 PM
Author: Douglas.Knudsen Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:29934#150205 why not use CFLDAP against your AD?   Doug 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.   _____  
01/19/2004 12:10 PM
Author: Mike Townend Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:29934#150204 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 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.   _____  
01/19/2004 12:09 PM
Author: Burns, John Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:29934#150203 Try CFEXECUTE. John Burns 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.
01/19/2004 12:01 PM
Author: Jones, Becky Short Link: http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:29934#150202 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.
<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

May 24, 2012

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
     1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31     

Designer, Developer and mobile workflow conference