Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

remove all the members of a group

$
0
0

can i remove all members(i don't the exact counts) of a certain group by using DirectoryEntry.invoke or some other methods?

i think it's not  a good way to get all members of this group and then remove them one by one through DirectoryEntry.Properties["member"].Remove(dn) when the group contains too many members

thanks!



Viewing all articles
Browse latest Browse all 31927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>