Controller.User Property

 

Gets the user security information for the current HTTP request.

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

Syntax

public IPrincipal User { get; }
public:
property IPrincipal^ User {
    IPrincipal^ get();
}
member User : IPrincipal with get
Public ReadOnly Property User As IPrincipal

Property Value

Type: System.Security.Principal.IPrincipal

The user security information for the current HTTP request.

See Also

Controller Class
System.Web.Mvc Namespace

Return to top