Retirieving username during Forms based authentication

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é
 

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

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top