public LDAPUser CreateUser(string accountName) { LDAPUser adUser = LDAPHelper.SearchAccurateUserInfo(accountName, true).Where(x => string.IsNullOrEmpty(x.Mail) != true && x.AccountDisabled != true && !x.SamaccountName.Contains("_")).OrderBy(x => x.DisplayName).FirstOrDefault(); return(adUser); }