共用方式為


HubConnectionContext.User 屬性

定義

取得這個連線的使用者。

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

屬性值

適用於