public bool AddAccount(string username, string password) { try { SecurityDAO.AddAccount(username, Utilities.Encryption.Security.MD5Encrypt(password), UserContext.UserInfo.AccountID); RoleBuilder.Init(); return(true); } catch (Exception ex) { NLogManager.PublishException(ex); } return(false); }