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:
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
Return to top
Show: