A script handler you can implement to override standard MoneyWorks behaviour.
Automatically called: When the user is logging out (either disconnecting, switching user, or closing a local file).
Use for: You can use this opportunity to save user-specific state. The current user can be identified by the global variables
Return value: ignored