I can retrieve some very basic data with:
OW::getUser()->getUserObject()But I have no idea how to retrieve roles an user belongs to. Any idea on how to do that ?
I can retrieve some very basic data with:
OW::getUser()->getUserObject()But I have no idea how to retrieve roles an user belongs to. Any idea on how to do that ?
$user_roles = BOL_AuthorizationUserRoleDao::getInstance()->getRoleIdList($userId);
Note that $user_roles is an array.