Magento 2 – Getting user role
I would like to get the Role of the user logged in. I’m trying to use the vendormagentomodule-userModelUser.php class, but all results give me null or empty. I’m trying to use vendormagentomodule-authorizationModelRole.php, but the same happens, all empty. I have… Read More »Magento 2 – Getting user role