Browse Users and Groups on a Domain In a Web Browser
Category:ASP, HTML and XML
Author:Intelligent Solutions Inc.
Version Compatibility: ASP
This ASP page shows you how to display NT/2000 Groups, Users Within Groups, and Individual User Informaiton in a web browser. It uses the syntax GetObject(WinNT://" & DomainName & "/" & GroupName) return a list of all objects within a given group. For the example to work, ADSI must be installed on the web server, which requires the web server to be installed on Windows 2000 or Windows NT with the latest service pack.
IMPORTANT NOTE:You must change line 7 of the code from:
if sDomain = "" then sDomain = "MYDOMAIN"
to use a valid domain name on your network.
Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.