public function getLoginUserGroups($login)
    {
        $groupName = $this->adminGroupConfiguration->getLoginGroupName($login);
        if (empty($groupName)) {
            $groupName = 'guest';
        }

        return $this->getUserGroup("$groupName");
    }
public function getLoginUserGroups($login)
    {
        $groupName = $this->adminGroupConfiguration->getLoginGroupName($login);
        if (empty($groupName)) {
            $groupName = 'guest';
        }

        return $this->getUserGroup("$groupName");
    }
public function getLoginUserGroups ( $ login ) { $ groupName = $ this -> adminGroupConfiguration -> getLoginGroupName ( $ login ) ; if ( empty ( $ groupName ) ) { $ groupName = 'guest' ; } return $ this -> getUserGroup ( "$groupName" ) ; }
Get the group in which a user is.
This is useful for gui actions.

@param string $login

@return Group
Get the group in which a user is . This is useful for gui actions .