HttpApplication.User Property


Gets the intrinsic user object for the current request.

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

public IPrincipal User { get; }

Property Value

Type: System.Security.Principal.IPrincipal

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

Exception Condition

The IPrincipal object is null.

.NET Framework
Available since 1.1
Return to top