Friday, June 30, 2006

Master Page User

I recently found that the User object cannot be accessed directly from inside a master page (as it can from any standard aspx page). To do so you need the following code;

HttpContext.Current.User.Identity

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home