if (response.hasNext()) {
Role role = (Role)response.next();
idStore.getRoleManager().grantRole(role, newUser.getPrincipal());
}
}
ModProperty userAccountControl =
new ModProperty("userAccountControl",
"66048",
ModProperty.REPLACE );
newUser.getUserProfile().setProperty(userAccountControl);