Dela via


HubConnectionContext.User Property

Definition

Gets the user for this connection.

public:
 virtual property System::Security::Claims::ClaimsPrincipal ^ User { System::Security::Claims::ClaimsPrincipal ^ get(); };
public virtual System.Security.Claims.ClaimsPrincipal User { 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