httpcontext.current.user.identity.name - Forms Authentication

  • Thread starter Thread starter Doogie
  • Start date Start date
D

Doogie

Is there any way to get the value from
httpcontext.current.user.identity.name when authentication in your
web.config is set to "forms"?
 
Is there any way to get the value from
httpcontext.current.user.identity.name when authentication in your
web.config is set to "forms"?

Yes, it should return a name. Please follow the article on MSDN on how
to implement Forms-Based Authentication in ASP.NET application
http://support.microsoft.com/kb/301240

Hope this helps
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top