共用方式為


ControllerBase.User 屬性

定義

ClaimsPrincipal取得與執行動作相關聯的使用者 。

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

屬性值

適用於