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
MillikMillik 

list of users the current user is not following

I want a list of user taht current user in not following in chatter , please help me I am new in this developer arena...

 

I got the list of cureent user's following

 

Select id, subscriberid  from entitysubscription where Subscriberid= "Userinfo.getuserid();

 

Regards,

Millik

VaasuVaasu
Try this...
Select id, subscriberid, subscriber.name from EntitySubscription where subscriberid != Userinfo.getuserid()