The System.DirectoryServices.AccountManagement are a great time-saver when working with Active Directory! But now I'm stuck.
Is it possible to use inequality searches with PrincipalSearcher? For instance, i have users with three types:
and possibly more. I want only non-Foo users. With PrincipalSearcher's underlying DirectorySearcher, i could give it a string filter like this:
With PrincipalSearcher, that inequality doesn't seem to be possible! I've searched all through MSDN articles and haven't found anything that covers this.
Any help is appreciated!
View Complete Post