Example #1
0
 public void Screen(string[] Origin, string sAMAccountName, out List <string> None, out List <string> Have)
 {
     None = new List <string>();
     Have = new List <string>();
     foreach (var item in Origin)
     {
         if (ADController.IsMember(item, sAMAccountName))
         {
             Have.Add(item);
         }
         else
         {
             None.Add(item);
         }
     }
 }