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
sridivyasridivya 

How to get Users list who are in online.

Hi,

 

 

I have small scenario like to display users who are in online for chatter.Can you  please help me in this scenario.



Thanksin Advance
     Sri

saurabhEventsaurabhEvent

You won't have exact way to determine how many users are logged into chatter at a particular instance, but you can get close by having a functionality of Users logged into Chatter in last 5 mins or any other time frame using LastLoginDate DateTime field on User Object.