Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

how to get the currently logged in user from aspnet_users table

Posted on 2010-09-06
2
Medium Priority
?
381 Views
Last Modified: 2012-05-10
I want to get the currently logged in user from aspnet_Users table. Any idea
0
Comment
Question by:Ammar Iqbal
2 Comments
 
LVL 52

Accepted Solution

by:
Carl Tawn earned 2000 total points
ID: 33610119
You can just do it programmatically via the Membership provider:

    System.Web.Security.MembershipUser user = System.Web.Security.Membership.GetUser();     // gets the current user
0
 
LVL 1

Author Comment

by:Ammar Iqbal
ID: 33610168
thanks
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question