Freigeben über


HttpAuthenticationContext.Principal Property

 

Gets or sets the authenticated principal.

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

Syntax

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

Property Value

Type: System.Security.Principal.IPrincipal

The authenticated principal.

See Also

HttpAuthenticationContext Class
System.Web.Http.Filters Namespace

Return to top