Ejemplo n.º 1
0
 private bool ADCCheck(int workId, string ecCode, string userId, string pwd, ref string ErrorMessage)
 {
     if (!string.IsNullOrEmpty(this._ADCUrl) && (workId == -1))
     {
         string str = new ADCUserChecker(this._ADCUrl, ecCode, userId, pwd).ADCCheckUser("");
         if (!string.IsNullOrEmpty(str))
         {
             ErrorMessage = str;
             return(false);
         }
     }
     return(true);
 }
Ejemplo n.º 2
0
 public Response LoginSendMsg(string ecCode, string userId, string pwd, string verifyCode)
 {
     ADCUserChecker checker = new ADCUserChecker(this._ADCUrl, ecCode, userId, pwd);
     return checker.ADCCheckUserAndSendMSG(verifyCode);
 }
Ejemplo n.º 3
0
 private bool ADCCheck(int workId, string ecCode, string userId, string pwd, ref string ErrorMessage)
 {
     if (!string.IsNullOrEmpty(this._ADCUrl) && (workId == -1))
     {
         string str = new ADCUserChecker(this._ADCUrl, ecCode, userId, pwd).ADCCheckUser("");
         if (!string.IsNullOrEmpty(str))
         {
             ErrorMessage = str;
             return false;
         }
     }
     return true;
 }
Ejemplo n.º 4
0
        public Response LoginSendMsg(string ecCode, string userId, string pwd, string verifyCode)
        {
            ADCUserChecker checker = new ADCUserChecker(this._ADCUrl, ecCode, userId, pwd);

            return(checker.ADCCheckUserAndSendMSG(verifyCode));
        }