Fog Creek Software
Discussion Board

Welcome! and rules

Joel on Software

How can I get windows user list in

I want to get all user name of windows and save them in DB.
Then only those users can access my web site.
Can any one plz guid me how can i do that in
I am new to Dot Net :(


Yasir Ghauri
Monday, August 16, 2004

Why not just authenticate them against windows?

Greg Hurlman
Monday, August 16, 2004


Issue: you'll need to either change the ASP.NET process identity to run as a user who has the privileges to look at the Active Directory/NT Domain or grant the ASP.NET account access to do it.

Duncan Smart
Tuesday, August 17, 2004

Oh yea - Greg's right! Just set the ACLs on the files to whichever Windows groups you want to access them - then IIS/Windows does the rest. The users, if logged onto the domain already, don't even have to enter their username/password again.

Duncan Smart
Tuesday, August 17, 2004

*  Recent Topics

*  Fog Creek Home