You need to sign in to do that
Don't have an account?
![sahari sahari](https://dfc-org-production.my.site.com/img/userprofile/default_profile_45_v2.png)
Login Hours from Apex
Hi
I have a requirement to monitor all the users login hours. Everyday, the first time they login to salesforce, I need to record their timings.
Does any one have an idea on this?
Thanks for any help!
There is a lastlogindate field on User which you can query but there is no way to know when they logged out. There is also a login history feature that may help under setup > administration setup > manage users > login history