I m using the System.DirectoryServices.AccountManagement
API to pull a list of groups from AD. These groups all start with the same prefix so it s easy to find them using the prefix and a wildcard. What I d also like to do is just get the groups that have changed since I last checked. I ve subclassed GroupPrincipal
to include the whenChanged
attribute and I m using that currently, after I pull my full list of groups, to filter the list. What I d like to know is, is it possible to perform an AdvancedFilterSearch
on a GroupPrincipal
? I realize GroupPrincipal
doesn t have an AdvancedFilterSearch
property. I m wondering if you add one in a sub-class will PrincipalSearcher
use it? If yes, an example would be nice.
Thanks,
Chris McKinnon