@Override
public BoxCollection getUserGroups(final String userId,BoxDefaultRequestObject requestObject)
throws BoxRestException, AuthFatalFailureException,
BoxServerException {
GetUserMembershipsRequest request = new GetUserMembershipsRequest(getConfig(), getJSONParser(), userId, requestObject);
return (BoxCollection) getResponseAndParseAndTryCast(request, BoxResourceType.GROUP_MEMBERSHIPS, getJSONParser());
}