String projectGuid = "73671509FA5C43ED8FC4171AD0298AD2";
CmsClient client = new CmsClient(logonGuid);
Project project = client.getProject(sessionKey, projectGuid);
UserGroup userGroup1 = project.getUserGroupByGuid("userGroupGuid");
UserGroup userGroup2 = project.getUserGroupByName("userGroupName");
List<UserGroup> userGroups1 = project.getUserGroups();
List<UserGroup> userGroups2 = project.getUserGroupsNameStartsWith("area-");
boolean contains = userGroup1.contains("user name");
User user = client.getUserByName("userName");
boolean contains2 = userGroup1.contains(user);
userGroup2.addUser(user);
List<User> users = userGroup1.getUsers();
for (User user2 : users) {
System.out.println(user2.getName());
System.out.println(user2.getFullname());