.getOrganisation_users().iterator(); iterObj.hasNext();) {
Element user_organisation = user_organisations
.addElement("user_organisation");
Organisation_Users orgUsers = iterObj.next();
if (orgUsers.getOrganisation() != null) {
user_organisation.addElement("organisation_id").addCDATA(
formatString(""
+ orgUsers.getOrganisation()
.getOrganisation_id().toString()));
} else {
user_organisation.addElement("organisation_id").addCDATA(
"0");
}
user_organisation.addElement("deleted").addCDATA(
formatString("" + orgUsers.getDeleted()));
user_organisation.addElement("isModerator").addCDATA(
formatString("" + orgUsers.getIsModerator()));
}
// Not need at the moment
// Element user_groups = user.addElement("groups");