Users Property
      
 

Description

Returns reference to users currently using this channel.

Property type

A VPNUsers object.  

Syntax

object.Users

The Users Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type VPNChannel.

Remarks

Users property will return reference to the collection of all users currently connected and using this channel. WHen user connects to the channel, it will be assigned new User object and added to the collection. Each channel holds one such collection.

If the same user uses two or more channels, you will see that user as separate objects (one per channel). This is neccessary so that users can be referenced correctly from within wodVPN's code.