I am using Forms authentication in my web site.
The user is authenticated via the domain users (Active Directory).
I want if the user is logged on his machine on this domain and tried to browse my web site, to be logged in automatically with the account used to log on his machine.
But, if he triied to browse my site without being logged in the domain to be asked for
the user name and password.

I am using ASP.NET 2.0.

Thanks in advance.

Do some research on impersonation

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.