function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Aditya Rawat 12Aditya Rawat 12 

SetupAuditTrail Object not returning all the events listed in the "View Setup Audit Trail" page in setup

So starting Winter16 the rows in the Setup Audit Trail page are retreivable using the SetupAuditTrial object.

However there events that are shown in the Setup Audit Trail page in setup, which are not returned when queried the SetupAuditTrail object.
For instance the any login events for impersonation (Login In As) are returned by the SetupAuditTrail object, are such events audit trail events stored in some other object ?

Setup Audit Trail page with Login As events

SetupAuditTrail object missing login as events

 
Saar ArbeliSaar Arbeli
Is there anything to do with this please?
I tried loginHistory as well but it didn't help me
Saar ArbeliSaar Arbeli
And I don't want to wait for EventLogFile as well
john donne 6john donne 6
Thank you for sharing for giving solution for seting up audit trial. How can i check teh audit trail for my website (https://biggboss16online.me/)