i created one master page and login page.once i login ,im able to get the username.
Example:
if (Session["usename"] != null)
{
lbllogout.Text = "Welcome :" + Session["usename"].ToString();
}
Now,i want to get the complete details of user once i login(i want to show it in gridview)

Vignesh KumarRank #1,579 · 1K reputationPosted Jun 17, 2013, 2:30 AM EDT
I used this piece of code and worked. Give it a try!
//Gets the name if authenticated
if (User.Identity.IsAuthenticated)
Label1.Text = User.Identity.Name;
else
Label1.Text = "No user identity available";
KRayudu V157 reputationPosted Jun 17, 2013, 2:42 AM EDT
i want to get all the details of user once i login
for example:
i have registration table in that,i have fields
username,password,emailid,firstname,lastname
suppose if i login with UserName:praven,Password:asdfg
as soon i login,i want to get all the details of "praveen" in gridview
Vignesh KumarRank #1,579 · 1K reputationPosted Jun 17, 2013, 2:44 AM EDT
http://www.asp.net/web-forms/tutorials/security/membership/storing-additional-user-information-cs