WebSocketContext.User 属性

定义

用于获取标识、身份验证信息和 WebSocket 客户的安全角色的对象。

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

属性值

返回 IPrincipal

适用于