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
STar ForceSTar Force 

To check if a user is logged in Salesforce or not !

Hi All,
I need to find out if a user is currently logged in to salesforce or not and subsequently assign them records via apex. What is the optimised way of achieving this reuest.

Thanks in advance !!
Pratima Shrivastav 3Pratima Shrivastav 3
Hi Star Force,
I found this in the forums. This might help. https://developer.salesforce.com/forums/?id=906F0000000AsQoIAK