<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_user_groups(self, user):
 """ Get user's group memberships. Args: user (string):
 User name. Returns: (list):
 User's groups. Raises: requests.HTTPError on failure. """

        self.project_service.set_auth(self._token_project)
        return self.project_service.get_user_groups(user)