wodSSHServer ActiveX Control - Disconnected Event
    
 

Description

Fires when user leaves the server.


Syntax

Private Sub object_Disconnected(User)



The Disconnected Event syntax has these parts:

Part Description
object A wodSSHD object.
User A SSHUser object. Reference to user who left the server.

Remarks

At this point Users.Count property will still have information about this user which will be decremented as soon as this event is left. For example, if there is only one user on your system and he disconnects, Users.Count will have value 1 at the time this event is fired, even if user already disconnected. This is left so you can make some changes or save state information for the user.