After a user logs in, how do I obtain role information

Hi,

By using strapi helper plugin you can achieve this

const {auth} = require("strapi-helper-plugin")
const userInfo = auth.getUserInfo()
1 Like