public void GetAccountsByGroup() { var accounts = ActiveDirectory.GetAccountsByGroup("Maintenance_Electric"); accounts.ToList().ForEach(x => Console.WriteLine(x.Login)); }