Event class for UserManager. Defines several events.
- user login: called when user logs in
- user logoff: called when user clicks logoff in LogoffWindow
- user end session: called when user automatically logged off due to inactivity
- user check timeout: called every hour to check if there has been user activity in the past hour.
if there has been activity, nothing happens. if there has been no activity, the user is automatically logged off
- user save: called when user edits their profile using the UserAccountWindow and the profile is committed to the database
- user update: called when user information in the UserManager is updated either from the database on login or by the user
using the UserAccountWindow
public var oldUserData:Object
public var timedOut:Boolean
public var userData:Object
public function UserManagerEvent(type:String, timedOut:Boolean = false, userData:Object = null, oldUserData:Object = null)Parameters
| type:String |
| |
| timedOut:Boolean (default = false) |
| |
| userData:Object (default = null) |
| |
| oldUserData:Object (default = null) |
public static const USER_CHECK_TIMEOUT:String = "userCheckTimeout"
public static const USER_ENDSESSION:String = "userEndSession"
public static const USER_LOGIN:String = "userLogin"
public static const USER_LOGOFF:String = "userLogoff"
public static const USER_SAVE:String = "userSaves"
public static const USER_UPDATE:String = "userUpdate"