Back to product page

Index property


Returns index of the user.

Type

An Integer value.

Syntax

  • Basic
object.Index 
The Index(object) syntax has these parts:
objectAn 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.

Platforms

Windows