code: public List<OrganizationWithSpaces> getSharedOrganizations(int userId) {
  		return getResourceFactory().getApiResource("/org/shared/" + userId)
  				.get(new GenericType<List<OrganizationWithSpaces>>() {
  				});
  	}
docs: Returns the organizations and spaces that the logged in user shares with
  the specified user. The organizations and spaces will be returned sorted
  by name.
  
  @param userId
  The id of the user
  @return The organizations with spaces that are shared with the user