共用方式為


AuthenticateResult.Principal 屬性

定義

取得具有已驗證使用者身分識別的宣告主體。

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

屬性值

適用於