src/Modules/Auth/Providers/DBUserProvider.php
public function getUserGroups($user_name)
    {
        $groups = $this->database->selectOne("SELECT `groups` FROM `users` WHERE `username` = ?", [$user_name]);

        if ($groups) {
            return StringHelper::toArray($groups['groups']);
        }
        return false;
    }
public function getUserGroups($user_name)
    {
        $groups = $this->database->selectOne("SELECT `groups` FROM `users` WHERE `username` = ?", [$user_name]);

        if ($groups) {
            return StringHelper::toArray($groups['groups']);
        }
        return false;
    }
@param string $user_name

@return array|false