How can I get a user role in Strapi V4? 🤔

If you’re trying to do this through the /api/users/me path, you need to populate the role field. It’s a relation now, not a string.

/api/users/me?populate=role