code_junkie

ASP.NET Forms Authentication With Only UserName

Nov 11th, 2011
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.11 KB | None | 0 0
  1. Request.ServerVariables["LOGON_USER"]
  2.  
  3. FormsAuthentication.RedirectFromLoginPage( userName, false );
Add Comment
Please, Sign In to add comment