public static Dictionary <string, string> CheckADProp(string userName, string passWord)
        {
            try
            {
                if (string.IsNullOrWhiteSpace(userName) || string.IsNullOrWhiteSpace(passWord))
                {
                    throw new Exception("LoginUser is null");
                }
                Dictionary <string, string> AD = factory.GetPropertyValue(userName, passWord);
                if (AD == null)
                {
                    throw new Exception("DAL.SOAccount.AccountFactory.CheckADProp()==null");
                }

                return(AD);
            }
            catch (Exception ex)
            {
                LogHelper.WriteLog(new Log()
                {
                    message = ex.Message
                }, "GetUser");
                return(null);
            }
        }