Пример #1
0
        public string ChangeUserPassword(string _userid, string _opwd, string _npwd, string _apnm)
        {
            AuthorizationBll bll    = new AuthorizationBll();
            Hashtable        result = bll.ChangeUserPassword(_userid, UtilSecurity.EncryptPassword(_opwd), UtilSecurity.EncryptPassword(_npwd), _apnm);

            return(result["Message"].ToString());
        }
Пример #2
0
        public string UserValidation(string _userid, string _passwd, string _apnm)
        {
            AuthorizationBll bll    = new AuthorizationBll();
            Hashtable        result = bll.GetUserValidation(_userid, UtilSecurity.EncryptPassword(_passwd), _apnm);

            return(result["Message"].ToString());
        }