共用方式為


HubCallerContext.User 屬性

定義

取得使用者。

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

屬性值

適用於