HttpContextBase::User Property
.NET Framework (current version)
When overridden in a derived class, gets or sets security information for the current HTTP request.
Assembly: System.Web (in System.Web.dll)
public: property IPrincipal^ User { virtual IPrincipal^ get(); virtual void set(IPrincipal^ value); }
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
Available since 3.5
Show: