Dela via


RazorPage.User Property

Definition

Gets the ClaimsPrincipal of the current logged in user.

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

Property Value

Applies to