Public
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Not applicable

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! 

 

Thanks

4 Replies 4
Honored Contributor

@Inactive User - In Khoros, we dont have user role color but have rank color.

Thanks!

Not applicable

@Payal that's what I meant, sorry. Correcting it now.

@Inactive User - You can use the following API call to get the user rank color:

SELECT rank.name, rank.color FROM users WHERE id = '[user.id]'

Thanks!

Not applicable

Thanks!

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.