Description
-
Holds reference to collection of currently connected
users.
Property type
-
An ImapUsers
object.
Syntax
-
object.Users
The Users Property syntax has these parts:
object |
An expression evaluating to an object
of type wodImapServer. |
Remarks
- If you want to access information about users currently
connected to your IMAP server, you will use this property. In
'technical' words, it will give you pointer to
IIMAPUsers object, but this means much more.
First, you will be able to determine total number of
connected users using its Count
property.
Second, you will be able to access information about specific
user using his index and Item property. For instance, you can
see hostname of computer from where first user connected, you
can do it like this:
-
- Debug.Print
wodImapServer1.Users.Item(0).HostName
-
- or shorter
-
- Debug.Print
wodImapServer1.Users(0).HostName
-
- This is read-only property, and it has only members for
accessing existing objects (users), not adding new ones. This
is so that IMAP server adds new users as they arrive (and
removes them).
|