System Information
- **Strapi Version4.1.2:
- Operating System:
- **Databasemysql:
- Node Version:
- NPM Version:
- Yarn Version:
After a user logs in, how do I obtain role information
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()