- Contents
Interaction Scripter Developer's Guide
User.userLoginChangeHandler Callback Property
Definition
User.userLoginChangeHandler is invoked when agent logs in or out of the system. The Login parameter will be True on a login message and False on a logout message. If you pass the name of a user-defined function to User.changeHandler, the function will be called when this event occurs.
Compatibility
This callback is compatible with scripts for Scripter .NET Client or Interaction Connect.
Usage
Read Yes
Write Yes
Syntax
User.userLoginChangeHandler(station, login)
Parameters
- station
-
The CIC station name.
- login
-
True if the user has logged in, or False if the user has logged out.
Value Assigned
- Function Pointer
-
A function pointer is the address in memory where a user-defined function is loaded. Function pointers pass the address of a user-defined function to another function declared within an application. In a script, the function pointer is simply the name of the function. For example, if your code contains a function named "foo", the function pointer would also be named "foo".
Specify station and login parameters when defining your custom function. E.g. function foo(station, login).
Value Returned
- Function Pointer