Use Intellisense: HttpContext.Current.User
Otherwise you have to type the Master to reference its controls by putting
the following into each content page...
<%@ MasterType VirtualPath="~/Masters/Whatever.master"%>
Then use public properties or the FindControl method to reference controls
in the Master or in content pages.
--
<%= Clinton Gallagher
NET csgallagher AT metromilwaukee.com
URL
http://www.metromilwaukee.com/clintongallagher/
"Dabbler" <Da*****@discussions.microsoft.comwrote in message
news:96**********************************@microsof t.com...
trying to access User in a MasterPage to determine current user's role,
but I
get
"the name User does not exist in current context"
Is there any way I can access this property to modify what is displayed on
the master page based on the user's role?
Thanks for any suggestions