User dzenan = (User) users.retrieveByProperty("firstName",
"Dzenan S.");
if (dzenan != null) {
User dzenan2 = (User) dzenan.copy();
dzenan2.setFirstName("Dzenan");
users.update(dzenan, dzenan2);
}
} catch (ActionException ae) {
log.info("Update user problem: " + ae.getMessage());
}
}