public function actionShowRoles($idOrEmail)
    {
        if (!$user = $this->findUser($idOrEmail)) {
            return self::EXIT_CODE_ERROR;
        }
        $roles = Podium::getInstance()->getRbac()->getRolesByUser($user->id);
        print_r($roles);
    }
public function actionShowRoles($idOrEmail)
    {
        if (!$user = $this->findUser($idOrEmail)) {
            return self::EXIT_CODE_ERROR;
        }
        $roles = Podium::getInstance()->getRbac()->getRolesByUser($user->id);
        print_r($roles);
    }
public function actionShowRoles ( $ idOrEmail ) { if ( ! $ user = $ this -> findUser ( $ idOrEmail ) ) { return self :: EXIT_CODE_ERROR ; } $ roles = Podium :: getInstance ( ) -> getRbac ( ) -> getRolesByUser ( $ user -> id ) ; print_r ( $ roles ) ; }
Shows user roles
@param int|string $idOrEmail internal podium user id or email
Shows user roles