共用方式為


SecurityTokenService.Principal 屬性

定義

取得或設定與目前執行個體相關聯的主體。

public:
 property System::Security::Claims::ClaimsPrincipal ^ Principal { System::Security::Claims::ClaimsPrincipal ^ get(); void set(System::Security::Claims::ClaimsPrincipal ^ value); };
public System.Security.Claims.ClaimsPrincipal Principal { get; set; }
member this.Principal : System.Security.Claims.ClaimsPrincipal with get, set
Public Property Principal As ClaimsPrincipal

屬性值

表示目前主體的 ClaimsPrincipal

適用於