User object in Master Page template?
I think I have been able to work out my master page problems except for one point-- I would like to be able to display the name (User.Identity.Name) of the user who is logged into my site in the template. On any other page, I can just assign some Label.Text to User.Identity.Name, and bingo, no problem.
But, the "User" object comes up undeclared in my master page... nor do I really "declare" it anywhere else in the site... perhaps it needs to be found somehow.
Any help?
|