共用方式為


ResultContext<TOptions>.Principal 屬性

定義

取得或設定 ClaimsPrincipal 包含使用者宣告的 。

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; }
public System.Security.Claims.ClaimsPrincipal? Principal { get; set; }
member this.Principal : System.Security.Claims.ClaimsPrincipal with get, set
Public Property Principal As ClaimsPrincipal

屬性值

適用於