List groups that a user belong using AD

  • Thread starter Thread starter Gonçalo Boléo
  • Start date Start date
Gonçalo,

If you are using AD you can use the System.DirectoryServices namspace to
find this information. It is comprised of two classes DirectoryEntry and
DirectorySearcher.
You should be able to instantiate a DirectorySearcher to query for your
information by passing it a DirectoryEntry object. You should be able to
find any information that you would like in AD using these objects.

Hope this helps.
 
Back
Top