Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to get user name rank color display information via APIs????

You can select different colors to display user's name for the different ranks a user has. I have a custom author display component and I want to be able to bring this functionality into it but have no idea how to find that information in a way that I can use. Help! 

2 Replies 2


You can use community API v2 to find all the data related to ranks like color, icons, bold font, etc to build your own custom component


SELECT rank FROM users WHERE id = '8'


But I would recommend using a non-contract component in your custom component to fetch user details if it fits well in your requirement.


<@component id="common.widget.user-name" user="conv:5" />
<@component id="common.widget.user-name" user="conv:username" />


Happy to Help !!! give kudos if you like my solution & mark it as solved if it resolves your issue

Welcome to the Technology board!

Curious about our platform? Looking to connect on social technology? You've come to the right place!

Are you a Khoros customer? For direct assistance from our Support team, please visit the Support Forum.