Back to product page
- Introduction
- Overview
- License agreement
- Getting Started
- Objects
- Enumerations
- wodSSHD
- Methods
- Properties
- Events
- Connecting
- CryptoInformation
- Disconnected
- LoginGSSAPI
- LoginPassword
- LoginPubkey
- PortBindRequest
- PortForwardConnect
- PortForwardDisconnect
- PortForwardRequest
- Received
- ServiceRequest
- ServiceStart
- SftpDeleteFile
- SftpDownloadFile
- SftpFileTransferData
- SftpListDir
- SftpListDirData
- SftpMakeDir
- SftpProgress
- SftpRemoveDir
- SftpRename
- SftpTransferComplete
- SftpUploadFile
- StateChanged
- IwodSSHDNotify
- Methods
- Connecting
- CryptoInformation
- Disconnected
- LoginGSSAPI
- LoginPassword
- LoginPubkey
- PortBindRequest
- PortForwardConnect
- PortForwardDisconnect
- PortForwardRequest
- Received
- ServiceRequest
- ServiceStart
- SftpDeleteFile
- SftpDownloadFile
- SftpFileTransferData
- SftpListDir
- SftpListDirData
- SftpMakeDir
- SftpProgress
- SftpRemoveDir
- SftpRename
- SftpTransferComplete
- SftpUploadFile
- StateChanged
- Methods
- SSHKeyPair
- SSHUser
- SSHUsers
- How to get support
- Technical information
- Fast notifications
- Error list
Users property
Holds reference to collection of currently connected users.
Type
A SSHUsers object. Reference to object that holds information about all connected users.Syntax
- Basic
object.Users
The Users(object) syntax has these parts:
The Users(object) syntax has these parts:
object | An expression evaluating to an object of type wodSSHD. |
Remarks
If you want to access information about users currently connected to your SSH server, you will use this property. In 'technical' words, it will give you reference to ISSHUsers object, but this means much more.
First, you will be able to determine total number of connected users using Count property.
Second, you will be able to access information about specific user using his index and Item property. For instance, you can see IP address of computer from where first user connected, you can do it like this:
Debug.Print wodSSHD1.Users.Item(0).RemoteIP
or shorter
Debug.Print wodSSHD1.Users(0).RemoteIP
This is readonly property, and it has only members for accessing existing objects (users), not adding new ones. This is so that SSH server adds new users as they arrive (and removes them).