win32net.NetLocalGroupSetMembers
NetLocalGroupSetMembers(server, group, level, members)
Sets the members of a local group. Any existing members not listed
are removed.
Parameters
server : string/PyUnicode
The name of the server, or None.group : string/PyUnicode
The group namelevel : int
The level of information in the data.members : [PyLOCALGROUP_MEMBERS_INFO_*, ..]
The list of new members to add.Win32 API References
Search for NetLocalGroupSetMembers at msdn, google or google groups.