This project is read-only.

Auditing user login/out activity

Feb 25, 2012 at 2:58 PM

Hi:

It is possible with Audit to audit users login/out activity?

I could modify the account controller, but I'd like to avoid it if at all possible.

Any help apreciated.

Cheers

Sean.

Coordinator
Feb 28, 2012 at 2:38 AM

Should be pretty easy. You can implement IUserEventHandler to handle the LoggedIn/LoggedOut events. From there you can trigger a Rules event and then plug that into an Audit action or any other action in the Rules UI. (If you want to cheat you can just make a call directly to IAuditService).