win32net.NetUserModalsGet

dict = NetUserModalsGet(server, level )

Retrieves global user information on a server.

Parameters

server : string/PyUnicode

The name of the server, or None.

level : int

The information level contained in the data

Win32 API References

Search for NetUserModalsGet at msdn, google or google groups.

Return Value

The result will be a dictionary in one of the PyUSER_MODALS_INFO_* formats, depending on the level parameter.