Play Games

Search This Blog

Wednesday, June 29, 2022

Login History of a salesforce user - Salesforce Globe For You

Solution: There are 2 ways to know the login history of a particular user.

Option 1: Go to the respective user record and then see the login History related list as shown below

Option 2: Use the SOQL query given below to know the login history

select Id, Browser, UserId, LoginTime, SourceIp, Platform,Application,Status from LoginHistory where UserId = '00590000001O70C' order by LoginTime DESC

where UserId will be replaced with the specific user record id.



No comments:

Post a Comment