user1243746
user1243746

Reputation:

How can I programmatically create a new group?

I would like to create a group in Windows, and I've found the next reference but I don't know if I'm on the right path:

http://msdn.microsoft.com/en-us/library/aa374177.aspx

Upvotes: 1

Views: 139

Answers (1)

westwood
westwood

Reputation: 1774

No. The right way is using a Net* functions family.
In your case to create a new windows user group you have to use a NetGroupAdd function.

Upvotes: 1

Related Questions