win32net.NetLocalGroupDelMembers

NetLocalGroupDelMembers(server, group, members)

Deletes users from a local group.

Parameters

server : string/PyUnicode

The name of the server, or None.

group : string/PyUnicode

The group name

members : [string, ...]

A list of strings with fully qualified user names to delete from a local group.

Win32 API References

Search for NetLocalGroupDelMembers at msdn, google or google groups.