Given a group name say 'administ开发者_StackOverflowrators' I need to get a list of all users in that group.
Looking at http://msdn.microsoft.com/en-us/library/aa375742%28v=VS.85%29.aspx and I do not see a way to do that.
NetGroupGetUsers?
Not sure I understand the question when looking at the link, but you may want to look into WMI. I never used it from C, but from C# it was quite easy.
Maybe this sample code will help you:
http://msdn.microsoft.com/en-us/library/ms180907%28VS.80%29.aspx#Y456
精彩评论