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..