Windows NT/2k Logons inASP
Hi,
I would like to know if it is possible to view/access windows NT/2k logons from an ASP page.
If it is how could i say, get logons of all users in a domain or users in a group in a drop down combo.
I'm asking this because, on our intranet, most resources and pages are tied to the logons and we do not want to manage anymore logons apart from OS level.
Any help will be appreciated.
all day, every day, at the cyberian monastery, to learn you yearn...
Peter J. Boettcher posted this at 16:11 — 21st March 2002.
They have: 812 posts
Joined: Feb 2000
You should be able to use ADSI, try this:
Set Domain = GetObject("WinNT://DomainGoesHere")
Domain.Filter = Array("user")
For Each User In Domain
Response.Write User.Name
Next
I didn't test it, but it should work.
PJ | Are we there yet?
pjboettcher.com
the_monq posted this at 17:45 — 21st March 2002.
They have: 3 posts
Joined: Mar 2002
Thanx Peter, u r a G!!!!
Let me pursue documentation on ADSI or do u have any sites i can go to for tutorials??
thanx again!
Peter J. Boettcher posted this at 18:15 — 21st March 2002.
They have: 812 posts
Joined: Feb 2000
You can check out Microsoft's site: http://www.microsoft.com/windows2000/techinfo/howitworks/activedirectory/adsilinks.asp
and I also like this site: http://www.15seconds.com/focus/ADSI.htm
Have fun!
PJ | Are we there yet?
pjboettcher.com
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.