I would like to execute certain functions upon any user login/logout.
In Task Configuration there seem to be some useful Event Handlers: System Events -> Add Event Handler.
I added:
- event Login, function to call TestLogin
- event Logout, function to call TestLogout
Afterwards I get compile errors "Function TestLogin/TestLogout requires exactly '0' inputs".
How to use the Login/Logout events then?
Are the System Event Handlers and their usage documented anywhere?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Old question but since I stumbled on it others might.
He probably added the function he wants to be called before using the "add event handler". If you don't add it first they will be created with the correct params.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I would like to execute certain functions upon any user login/logout.
In Task Configuration there seem to be some useful Event Handlers: System Events -> Add Event Handler.
I added:
- event Login, function to call TestLogin
- event Logout, function to call TestLogout
Afterwards I get compile errors "Function TestLogin/TestLogout requires exactly '0' inputs".
How to use the Login/Logout events then?
Are the System Event Handlers and their usage documented anywhere?
Old question but since I stumbled on it others might.
He probably added the function he wants to be called before using the "add event handler". If you don't add it first they will be created with the correct params.