Share via


HelperPage.User Property

Gets a user value based on the HTTP context.

Namespace:  System.Web.WebPages
Assembly:  System.Web.WebPages (in System.Web.WebPages.dll)

Syntax

'Declaration
Public Shared ReadOnly Property User As IPrincipal 
    Get
'Usage
Dim value As IPrincipal 

value = HelperPage.User
public static IPrincipal User { get; }
public:
static property IPrincipal^ User {
    IPrincipal^ get ();
}
static member User : IPrincipal
static function get User () : IPrincipal

Property Value

Type: System.Security.Principal.IPrincipal
A user value based on the HTTP context.

See Also

Reference

HelperPage Class

System.Web.WebPages Namespace