win32net.NetUserDel

NetUserDel(server, username)

Deletes a user.

Parameters

server : string/PyUnicode

The name of the server, or None.

username : string/PyUnicode

The user name

Win32 API References

Search for NetUserDel at msdn, google or google groups.