win32net.NetWkstaGetInfo

dict = NetWkstaGetInfo(server, level )

Retrieves information about the configuration elements for a workstation

Parameters

server : string/PyUnicode

The name of the server to execute on, or None.

level : int

The information level contained in the data. NOTE: levels 302 and 402 don't seem to work correctly. They return error 124. So currently these info levels are not available.

Win32 API References

Search for NetWkstaGetInfo at msdn, google or google groups.

Return Value

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