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

nickname of the user who posted

Hi All,

I am creating a vf page for displaying posts from a chatter group using ConnectApi.In that page, I want to display the community nickname of the user who posted/commented. How to do that?

AmitAmit (Salesforce Developers) 

Please refer to the following guide for more information :
The ConnectApi output classes currently don't include the community nickname, so you'll need to query the User object for the CommunityNickname property.