AuthorizationContext.Principal 属性

定义

获取授权正在被请求的主体。

public:
 property System::Security::Claims::ClaimsPrincipal ^ Principal { System::Security::Claims::ClaimsPrincipal ^ get(); };
public System.Security.Claims.ClaimsPrincipal Principal { get; }
member this.Principal : System.Security.Claims.ClaimsPrincipal
Public ReadOnly Property Principal As ClaimsPrincipal

属性值

ClaimsPrincipal

其授权正在被请求的主体。

适用于