public static Boolean ValidateUserExist(String username) { ValidateUserExistReq req = new ValidateUserExistReq(); req.BusinessData.UserName = username; ValidateUserExistRes res = _ClientServiceBase.ExecuteService <ValidateUserExistReq, ValidateUserExistRes>(WrapperSecurityProvider, req); if (res.Error != null) { throw Fwk.Exceptions.ExceptionHelper.ProcessException(res.Error); } return(res.BusinessData.Exist); }
public static Boolean ValidateUserExist(String username) { ValidateUserExistReq req = new ValidateUserExistReq(); req.BusinessData.UserName = username; ValidateUserExistRes res = req.ExecuteService<ValidateUserExistReq, ValidateUserExistRes>(WrapperSecurityProvider, req); if (res.Error != null) throw Fwk.Exceptions.ExceptionHelper.ProcessException(res.Error); return res.BusinessData.Exist; }