}
if (result) {
if (checkBox_Private.isSelected()) {
if (textField4j_GroupID.getText().equals("") == false) {
JDBUserGroupMembership ugm = new JDBUserGroupMembership(Common.selectedHostID, Common.sessionID);
ugm.setUserId(Common.userList.getUser(Common.sessionID).getUserId());
ugm.setGroupId(textField4j_GroupID.getText());
if (ugm.isValidUserGroupMembership() == false) {
result = false;
reasonInvalid = "user [" + Common.userList.getUser(Common.sessionID).getUserId() + "] must be a member of the specified group [" + textField4j_GroupID.getText() + "]";
}
}
}