public function getMemberByUser($user, $vo)
    {
        $member = $this->connector->get('membersManager', 'getMemberByUser', array(
            'user' => $user->getId(),
            'vo' => $vo->getId(),
        ));
        if (is_null($member)) {
            throw new Exception(
                "Member for User with name " . $user->getName() . " and Vo with shortName " .
                $vo->getShortName() . "does not exist in Perun!"
            );
        }
        return new Member($member['id'], $member['voId'], $member['status']);
    }