HttpContextBase.User Property

 

When overridden in a derived class, gets or sets security information for the current HTTP request.

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

public virtual IPrincipal User { get; set; }

Property Value

Type: System.Security.Principal.IPrincipal

An object that contains security information for the current HTTP request.

Exception Condition
NotImplementedException

Always.

.NET Framework
Available since 3.5
Return to top
Show: