How can I add Login History section to the Home page(landing page) to track the login history and login time?


You have two options:

  1. You can create a report with a chart from User object. Group rows by Login Date and for columns use Login status, Full Name, Login Date/Time and others you need. Add it on the Home lightning page. On the page, it will display only a chart and you will have to click into View Report to see more. See example of such report below. enter image description here
  2. You can create a custom LWC or Aura component and put it on the Home page.

Don't forget that you need to have the Manage users access in order to see the login history.

  • thank you for your response, let me try this out. – Debabrata Jena Apr 7 '20 at 12:23
  • 1
    Can you please elaborate the 1st option you mentioned? – Debabrata Jena Apr 8 '20 at 6:21
  • @DebabrataJena I updated the answer, I had the wrong object there. Let me know if it helps. – mascot Apr 8 '20 at 7:00
  • how would create a report using User object? – Debabrata Jena Apr 8 '20 at 8:38
  • see this link help.salesforce.com/… – mascot Apr 8 '20 at 8:54

Not the answer you're looking for? Browse other questions tagged or ask your own question.