Megosztás a következőn keresztül:


DefaultHttpContext.User Property

Definition

Gets or sets the user for this request.

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

Property Value

Applies to