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
Giancarlo AmatiGiancarlo Amati 

how to detect track the first login

Dear All,

we're building a Community portal and we need to track the first time a user login. 
the issue that changes the "Last login date-time" doesn't trigger an update event. 
How can we do that" for example I would need that once a user has login in there's a check box that becomes true.

Any suggestions?
GC
VinayVinay (Salesforce Developers) 
Hi Giancarlo,

You can check login history to monitor user login in salesforce.  Export in .csv file and you would need to check manually.

https://help.salesforce.com/s/articleView?id=sf.users_login_history.htm&type=5

Please mark as Best Answer if above information was helpful.

Thanks,