You can get current logged in user's name in a label control as follows:
Label1.Text = User.Identity.Name.ToString();
Subscribe to:
Post Comments (Atom)
This blog is about the simple solutions I found during my daily programming duties with a hope that somebody can use it to solve their similar problems. Or may be someone can suggest us a better solution for the same.
No comments:
Post a Comment