Click here to Skip to main content
15,883,623 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I have a requirement to get the Domain users who are there in particular groups.

How can I get those Domain Users from the particular groups.

I can able to get the Domains, Particular Groups & Users by using Management Object Searcher from C#. it is using Win32_NTDomain, Win32_Group, Win32_GroupUser.

I can able to get the Domains by using DirectoryServices. But not the particular Groups.

Is there any difference between ManagementObjectSearcher & DirectoryServices.? or Internally both use same Win32API?

Can some body help me..

Regards,
Murali
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900