Share via


HttpRequestContext.Principal Property

 

.Gets or sets the principal

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

Syntax

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

Property Value

Type: System.Security.Principal.IPrincipal

Returns IPrincipal.

See Also

HttpRequestContext Class
System.Web.Http.Controllers Namespace

Return to top