System.Web.UI Namespace Page Class
Returns information about the user making the page request.
Script |
[ IPrincipal variable = ] Page.User |
variable |
Returns an IPrincipal object that represents the user making the page request. |
The property is read only with no default value.
An IPrincipal object represents the security context of the user on whose behalf the code is running, including that user's identity and any roles to which they belong.
This property uses the HttpContext object's User property to determine where the request originates.
Page Members User