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 客户端的安全角色。

适用于