In this article you will get to know how to retrieve logged in user email in ASP.Net.
In the Previous articles i explained what is query string and how to use it in asp.net, how to retrieve logged in user password using asp.net, how to enable password retrieval in asp.net, how to get security answer in asp.net, how to retrieve logged in user name in asp.net and many more about ASP.Net.
If you’re using the Membership API in asp.net and need to retrieve a user’s email address, you can do so by doing this:
MembershipUser currentUser = Membership.GetUser();
string username = currentUser.Email;
Hope this Helps.