>(Thanks, Eric, for your answer to my previous post.)
>
>I've spent a couple hours on the Microsoft web site trying to figure out how to use ADSI. If I can ask a dumb question, does ASDI work on an NT 4.0 network or only with Windows 2000 Server? We have a mixed Novell/NT4 net here and it looks like ADSI could do some handy things for me. Do I need to install anything on the servers or can I just install the Win95 SDK on my machine and start using it?
>
ADSI works with any LDAP provider that has an ADSI driver available - and there are both NetWare and MS Networking ADSI servers available. ADSI services are available for any of Micrsoft's network environments that have ADSI compliant drivers available; I certainly hope that NT Server has such, since I use the NT ADIS object to maintain much of my NT Server environment using the WIndows Scripting Host!
If you want examples of just how ADSI can be used with the WSH and VBScript, I'd take a run out to a couple of Web sites I'll list below, which have tons of information on using the WSH and ADSI, including scripts you can play with:
http://cwashington.netreach.net/site/scripts/scripts_index.htmlhttp://www.ntfaq.comhttp://www.zdnet.com/devheadBTW, ADSI is not limited to being used with VB/VBScript - Rick Strahl's West Wind website has a good whitepaper on using ADSI with VFP, and the script sites above use JScript as much as they use VBScript, particularly the cwashington site. The script site has been troublesome to connect to (they've been playing with their server again) so you might want to navigate down to the WSH pages from:
http://cwashington.netreach.net/home.htminstead if the first link doesn't work.