db.getMetadata().getSecurity().getUser(username).setPassword(newPassword).save();
}
public static boolean exists(String username) {
UserDao udao=UserDao.getInstance();
return udao.existsUserName(username);
}
public static void sendResetPwdMail(String appCode, ODocument user) throws Exception {
final String errorString ="Cannot send mail to reset the password: ";