source/Core/Utils.php
protected function fetchRightsForUser($userOxId)
    {
        $database = \OxidEsales\Eshop\Core\DatabaseProvider::getDb();

        return $database->getOne("select oxrights from oxuser where oxid = " . $database->quote($userOxId));
    }
protected function fetchRightsForUser($userOxId)
    {
        $database = \OxidEsales\Eshop\Core\DatabaseProvider::getDb();

        return $database->getOne("select oxrights from oxuser where oxid = " . $database->quote($userOxId));
    }
protected function fetchRightsForUser ( $ userOxId ) { $ database = \ OxidEsales \ Eshop \ Core \ DatabaseProvider :: getDb ( ) ; return $ database -> getOne ( "select oxrights from oxuser where oxid = " . $ database -> quote ( $ userOxId ) ) ; }
Fetch the rights for the user given by its oxid

@param string $userOxId The oxId of the user we want the rights for.

@return mixed The rights
Fetch the rights for the user given by its oxid