Forum Discussion
VarunGrazitti
9 years agoBoss
sdodds - Yes, you can create a custom component in which you can extract all the users with that role and then style it accordingly. Try this API
SELECT * FROM users WHERE roles.name IN ('Administrator', 'Community Manager')
I hope this helps.
sdodds
9 years agoExpert
Thank you VarunGrazitti!
That likely is exactly what I need - however, I'm a relative noob at styling the results in freemarker. You wouldn't know if the existing groups.widget.group-members-view component is something I can view and extract the freemarker code from? I'd love to simply replace the call for the group member list with the API call you provided (using the names of the new roles I'm creating) and benefit from a consistent widget style.
Related Content
- 7 months ago
- 2 years ago
- 2 years ago