NetLocalGroupSetMembers(server, group, level, members)

Sets the members of a local group. Any existing members not listed are removed.


server : string/PyUnicode

The name of the server, or None.

group : string/PyUnicode

The group name

level : int

The level of information in the data.


The list of new members to add.

Win32 API References

Search for NetLocalGroupSetMembers at msdn, google or google groups.