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); }
public Response LoginSendMsg(string ecCode, string userId, string pwd, string verifyCode) { ADCUserChecker checker = new ADCUserChecker(this._ADCUrl, ecCode, userId, pwd); return checker.ADCCheckUserAndSendMSG(verifyCode); }
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; }
public Response LoginSendMsg(string ecCode, string userId, string pwd, string verifyCode) { ADCUserChecker checker = new ADCUserChecker(this._ADCUrl, ecCode, userId, pwd); return(checker.ADCCheckUserAndSendMSG(verifyCode)); }