win32net.NetUseGetInfo

dict = NetUseGetInfo(server, usename , level )

Retrieves information about the configuration elements for a workstation

Parameters

server : string/PyUnicode

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

usename : string/PyUnicode

The name of the locally mapped resource.

level=0 : 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 NetUseGetInfo at msdn, google or google groups.

Return Value

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