SOQL to find whether users have logged in to the Sandbox
SOQL on the Login History object/entity can be used to find whether users have logged in to the Sandbox. Sample SOQL: SELECT Id, LoginTime, UserId FROM LoginHistory WHERE DAY_ONLY( LoginTime ....