Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Check ADS on the network


1 reply to this topic

Murali

Murali
  • Members
  • 18 posts

Posted 10 November 2001 - 10:34

I've to install my application on Win 2K machine that has Active Directory Service available on the Network. How can I find that ADS is available on the network?

Thanks in Advance.


IgorS

IgorS
  • Members
  • 38 posts

Posted 12 November 2001 - 09:27

I used this script:
---------------------------------------------------------------------

 dim dse, configObjectDN
 Set dse = GetObject("LDAP://RootDSE")
 configObjectDN = dse.Get("configurationNamingContext")
 set dse = nothing
 If configObjectDN = "" Then
    Session.Property("IS_CONNECTED_2_AD") = "no"
 else
    Session.Property("IS_CONNECTED_2_AD") = "yes"
 end if
---------------------------------------------------

where IS_CONNECTED_2_AD is my property.