RazorPage.User 属性

定义

ClaimsPrincipal获取当前登录用户的 。

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

属性值

适用于