Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

HttpApplication.User Property

 

Gets the intrinsic user object for the current request.

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

[BrowsableAttribute(false)]
public IPrincipal User { 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: