win32net.NetGroupDelUser

NetGroupDelUser(server, group, username)

Deletes a user from the group

Parameters

server : string/PyUnicode

The name of the server, or None.

group : string/PyUnicode

The group name

username : string/PyUnicode

The user to delete from the group.

Win32 API References

Search for NetGroupDelUser at msdn, google or google groups.