+ Start a Discussion
Sure@DreamSure@Dream 

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?

Thanks
AmitAmit (Salesforce Developers) 
Hello,

Please refer to the following guide for more information :

http://help.salesforce.com/help/pdfs/en/salesforce_communities_implementation.pdf
alouie_sfdcalouie_sfdc
The ConnectApi output classes currently don't include the community nickname, so you'll need to query the User object for the CommunityNickname property.