Share via


AuthenticationContext.Principal Property

 

Gets or sets the currently authenticated principal.

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

Syntax

public IPrincipal Principal { get; set; }
public:
property IPrincipal^ Principal {
    IPrincipal^ get();
    void set(IPrincipal^ value);
}
member Principal : IPrincipal with get, set
Public Property Principal As IPrincipal

Property Value

Type: System.Security.Principal.IPrincipal

The security credentials for the authentication.

See Also

AuthenticationContext Class
System.Web.Mvc.Filters Namespace

Return to top