0

I am trying to understand how can we know our user's activity each day on Salesforce. The aim is to know how much time each user spend in Salesforce each day, where the triggers are login at morning, and logout at evening. We have the event monitoring app and the event log files - so the data exists.

Thanks.

1 Answer 1

0

Use EventLogFile object, Please read the doc, It supports SOAP and REST API.

Once you receive the data, check the value of EventType It should contain log files as per the document.

Another Doc EventLogFile, which is supported SOQL, please go through with this, this ma help.

2
  • Doesn't help with the "logout" concept... I wonder if there is any record of a "logout" event (I suspect not)
    – Phil W
    Mar 11, 2020 at 14:46
  • @PhilW, Yeah you are right, LoginHistory object does not give logout detail, I update the answer as I found some document about EventLogFile as a part of a release 15
    – Sarvesh
    Mar 11, 2020 at 15:11

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .