Hi All,
I am trying to get a list of users that belong to a group in Active Directory.
Somehow I think I need to use the DirectorySearcher as follows:
DirectorySearcher searcher = new DirectorySearcher(DomainPath);
searcher.Filter = ????
searcher.FindAll();
What do I need to specify in the Filter in order to retrieve the users that are contained in a group?
The MS documentation only tells you how to add users to a group but not how to get them.
Thanks a lot for your help.
--------------------------------
From: m z
-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)
<Id>PytcyFKMyUa+fsjLi5MWLQ==</Id>