@extract_id(User)<EOL><INDENT>def organization_memberships(self, user):<DEDENT>
return self._query_zendesk(self.endpoint.organization_memberships, '<STR_LIT>', id=user)<EOL>
Retrieve the organization memberships for this user.

:param user: User object or id