How do I change current user/password/domain?

  • Thread starter Thread starter TheBurgerMan
  • Start date Start date
T

TheBurgerMan

I have an ASP.NET/C# web site that the user has logged into using my own
logon page. How do I set the current web request to use the credentials the
user has just provided?
--
Thanks,
TheBurgerMan
at
gmail.com
--
 
Usually you would use RedirectFromLogonPage if you have Forms authentication
on. If you need to actually authenticate against an NT/XP domain, you can
use SSPI via p/Invoke from a trusted assembly (preferably in the GAC).
 
Back
Top