NetUserAdd(server, level, data)

Creates a new user.


server : string/PyUnicode

The name of the server, or None.

level : int

The information level contained in the data

data : mapping

A dictionary holding the user data in the format of PyUSER_INFO_*.

Win32 API References

Search for NetUserAdd at msdn, google or google groups.