These variables are Switch-specific. They provide access to the attributes of the
client connection. The third column indicates the scripting API function that returns the
variable's dynamic value.
Variable name |
Data type |
Scripting API equivalent |
Connection.Role |
Integer |
ClientConnection.getRole() |
Connection.Email |
Text |
ClientConnection.getEmail() |
Connection.UserName |
Text |
ClientConnection.getUserName() |
Connection.FullUserName |
Text |
ClientConnection.getFullUserName() |
Connection.Group |
Text |
ClientConnection.getGroup() |
Connection.IP |
Text |
ClientConnection.getIP() |
Note: The variables from this group are valid only in context of a client connection. Please
refer to the note in the description of the method Environment.getClientConnection(). When
used without an active client connection, the Connection variables will return empty
values. This amounts to the empty string for Text variables and 0 for Integer
variables.