Package Products :: Package ZenUtils :: Module events :: Class UserLoggedInEvent
[hide private]
[frames] | no frames]

Class UserLoggedInEvent

source code

PluggableAuthService.events.PASEvent --+
                                       |
                                      UserLoggedInEvent


Login notification event.

Subscribe to this to run code when a user logs in.
The username can be obtained in the handler via: evt.object.id

WARNING: Currently it doesn't notify when switching directly from
         a non-admin user to the admin user without logging out,
         because we're unable to determine whether the login succeeded.