AspNetWebSocketContext.User 属性

定义

获取一个对象,该对象表示当前 AspNetWebSocket 连接的用户的安全上下文。Gets an object that represents the security context of the user for the current AspNetWebSocket connection.

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

属性值

IPrincipal

用户的安全上下文。The security context of the user.

例外

未实现该属性。The property is not implemented.

适用于