共用方式為


HttpListenerWebSocketContext.User 屬性

定義

取得物件,該物件用來取得 WebSocket 用戶端之識別、驗證資訊及安全性角色。

public:
 virtual property System::Security::Principal::IPrincipal ^ User { System::Security::Principal::IPrincipal ^ get(); };
public override System.Security.Principal.IPrincipal User { get; }
member this.User : System.Security.Principal.IPrincipal
Public Overrides ReadOnly Property User As IPrincipal

屬性值

WebSocket 用戶端的識別、驗證資訊及安全性角色。

適用於