Пример #1
0
        public Int32 askCatchUserID()
        {
            Int32 catchedUserID;

            udao = new DAO.UserAccountDAO();
            udao.catchUserIDFromUserName(user_name);
            catchedUserID = udao.catchUserIDFromUserName(user_name);
            return(catchedUserID);
        }
Пример #2
0
        public Int32 askUserID()
        {
            Int32 UserID;

            udao = new DAO.UserAccountDAO();
            udao.postUserID();
            UserID = udao.postUserID();
            return(UserID + 1);
        }
Пример #3
0
 public void Reset()
 {
     udao = new DAO.UserAccountDAO();
     udao.resetPassword(user_name);
 }
Пример #4
0
 public void SaveRestriction()
 {
     udao = new DAO.UserAccountDAO();
     udao.UpdateRestrictions(can_access, has_sales, has_customers, has_inventory, has_reports, has_gc, has_user_accounts, has_conf, user_id);
 }
Пример #5
0
 public void PushLog()
 {
     udao = new DAO.UserAccountDAO();
     udao.logs(user_name);
 }
Пример #6
0
 public void DeleteUser()
 {
     udao = new DAO.UserAccountDAO();
     udao.Delete(user_id, user_name);
 }
Пример #7
0
 public void UpdateUser()
 {
     udao = new DAO.UserAccountDAO();
     udao.Update(user_id, user_name, first_name, middle_name, last_name);
 }
Пример #8
0
 public void AddUser()
 {
     udao = new DAO.UserAccountDAO();
     udao.Add(user_id, user_name, user_password, first_name, middle_name, last_name);
 }