共用方式為


AuthorizationContext.Principal 屬性

定義

取得要求其授權的主體 (Principal) (主體) (Subject)。

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

為其要求授權的主體 (Principal)。

適用於