Back to product page

Disconnect method


Disconnects user from the server.

Syntax

  • Basic
object.Disconnect()
The Disconnect(object) syntax has these parts:
objectAn expression evaluating to an object of type WebUser

Remarks

This method rudely disconnects user from the server, by closing his socket. No messages are sent to the user. User is removed from the Users collection immediately.

Platforms

Windows