public GenericEntry updateOrganizationUser(String customerId, String orgUserEmail,
String oldOrgUnitPath, String newOrgUnitPath) throws AppsForYourDomainException,
MalformedURLException, IOException, ServiceException {
GenericEntry entry = new GenericEntry();
if (oldOrgUnitPath != null && oldOrgUnitPath.length() != 0) {
entry.addProperty("oldOrgUnitPath", oldOrgUnitPath);
}
entry.addProperty("orgUnitPath", newOrgUnitPath);
return service.update(new URL("https://apps-apis.google.com/a/feeds/orguser/2.0/" + customerId
+ "/" + orgUserEmail), entry);
}