Retirieving username during Forms based authentication

  • Thread starter Thread starter Andre
  • Start date Start date
A

Andre

Hi,

I'm working on a C# project, where I need to identify the username from each
user that logs on.
I use Forms authentication, and am able to display the username by using the
User.Identity.IsAuthenticated property.

But; I need to store the username in some sort of variable, and use it in a
DataSet that queries a table and retrieves rows that are "marked" with the
current username...

Any tips ?


Regards,
André
 
Back
Top