win32net.NetUserModalsSet
NetUserModalsSet(server, level, data)
Sets global user parameters on a server.
Parameters
server : string/PyUnicode
The name of the server, or None.level : int
The information level contained in the datadata : mapping
A dictionary holding the data in the format of PyUSER_MODALS_INFO_*.Win32 API References
Search for NetUserModalsSet at msdn, google or google groups.