wodSSHServer ActiveX Control - Index Property
      
 

Description

Returns index of the user.


Property type

An Integer value.  


Syntax

object.Index



The Index Property syntax has these parts:

Part Description
object An expression evaluating to an object of type SSHUser.

Remarks

Index property will return current position of the user in collection of currently connected users. You should NOT reference user by his index later during his connection - since index changes often and depends on other connected users also. If index for some user is 1, and one with index 0 disconnects, index will be changed and now will become 0.

If you want to have unique ID for the user, you should rather use User.UID property.