HttpApplication::User Property

 

Gets the intrinsic user object for the current request.

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

public:
[BrowsableAttribute(false)]
property IPrincipal^ User {
	IPrincipal^ get();
}

Property Value

Type: System.Security.Principal::IPrincipal^

The IPrincipal object that represents the current authenticated or anonymous user.

Exception Condition
HttpException

The IPrincipal object is null.

.NET Framework
Available since 1.1
Return to top
Show: