Getting names of User's roles on Front End #16771
Unanswered
cancan101
asked this question in
Q&A / Support
Replies: 1 comment 1 reply
-
Did you find a solution for this? @cancan101 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Are there any front end APIs to get the list of roles that a given user is in, by name rather than by ID?
Right now I can:
but that will return an integer rather than the string. I would like to then perform a front end show / hide of certain functionality based a user's role and ideally I can use the string name for the role.
Beta Was this translation helpful? Give feedback.
All reactions