Hi, I would like to get User informations and User Roles from Rest API call.
I have a React front end that need logged in user informations and user roles because i have to modify views depends on user role (admin, administration, techinical…).
Actually i have 2 request:
log-in with username and password and i get Token
get user information from username with where clause and a custom Fetch Plan that include all data that i need but not roles (because i dont know how to get roles)
How can i get also user roles? i had create com.company.app.security.TechRole and associate to user