共用方式為


IHttpAuthenticationFeature.User 屬性

定義

取得或設定 ClaimsPrincipal 與 HTTP 要求相關聯的 。

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

屬性值

適用於