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
Anshul Kapoor 8Anshul Kapoor 8 

on searching with @ in chatter, how can we make ensure that users as per some profile will be visible

We have the requirement that searching with @ on chatter post, only users with NSC profile having country 'India' should be available. How can we make ensure this?
SwethaSwetha (Salesforce Developers) 
HI Anshul,
I don't think it is possible to restrict @mentions using OOTB functionality.There is an idea https://ideas.salesforce.com/s/idea/a0B8W00000GddGAUAZ/chatter-mention-list-needs-to-be-customizable that I'd recommend upvoting so that Salesforce product team can consider for future releases

Related: https://salesforce.stackexchange.com/questions/334390/is-it-possible-to-restrict-mentions-in-salesforce-chatter-for-community-users

If this information helps, please mark the answer as best. Thank you