You will be able to utilize the built-in tools and features of Salesforce to track and report the number of hours users are signed in or utilizing it. The step you can take is given below:
Enable User Login History Tracking:
Go to Setup in Salesforce.
In the Quick Find box, type "User Login History" and select the "User Login History" option.
Click on the "Enable" button to enable user login history tracking.
Make sure to adjust the retention period based on your reporting needs.
The number of hours users is signed in or using Salesforce can be tracked and reported by the above procedure. You will get the information you need to analyze and monitor user behavior over time from the scheduled report.
Thank you for quick response. Login History Tracking will just track user login details, but not the logout details. Let me know if am missing anything here.
Yes, the User Login details will provide you Login details of the user, If you want to have user logout details too then you have to Create a custom report for this.
By following these steps you can achieve this -
First, create a Custom Report Type:
Go to Setup in Salesforce.
In the Quick Find box, type "Report Types" and select the "Report Types" option.
Click on the "New Custom Report Type" button.
Select the primary object as "User Login History" and choose related objects as per your reporting requirements.
Define the report type and save it.
Now Create a Custom Report:
Go to the Reports tab in Salesforce.
Select the custom report type you created in the previous step.
Customize the report columns, filters, and grouping as needed.
Include the necessary fields such as User, Login Time, Logout Time, etc.
I also want to get the login and logout time of the users for my Org. when I typed "User Login History" in the quick find box in Setup, I am not getting any results. Am I doing something wrong? Please advice.
Hi GCK,
You will be able to utilize the built-in tools and features of Salesforce to track and report the number of hours users are signed in or utilizing it. The step you can take is given below:
Enable User Login History Tracking:
The number of hours users is signed in or using Salesforce can be tracked and reported by the above procedure. You will get the information you need to analyze and monitor user behavior over time from the scheduled report.
If it helps, mark it as the best answer.
Thanks
Arun
Thank you for quick response.
Login History Tracking will just track user login details, but not the logout details.
Let me know if am missing anything here.
Thanks
Hi GCK,
Yes, the User Login details will provide you Login details of the user, If you want to have user logout details too then you have to Create a custom report for this.
By following these steps you can achieve this -
First, create a Custom Report Type:
Now Create a Custom Report:
For more information, you can visit - Reports (https://help.salesforce.com/s/articleView?id=000387526&type=1)
If it helps,mark it as the best answer
Thanks
Arun
Hi Arun,
I also want to get the login and logout time of the users for my Org. when I typed "User Login History" in the quick find box in Setup, I am not getting any results. Am I doing something wrong? Please advice.
Thanks & Regards,
Naveen