code: public UserGroupsEntity getUserGroups(String username) {
  		return restClient.get("users/" + username + "/groups", UserGroupsEntity.class,
  				new HashMap<String, String>());
  	}
docs: Gets the user groups.
  
  @param username
  the username
  @return the user groups