win32net.NetShareGetInfo

dict = NetShareGetInfo(server, netname , level )

Retrieves information about a particular share on a server.

Parameters

server : string/PyUnicode

The name of the server, or None.

netname : string/PyUnicode

The network name

level : int

The information level contained in the data

Win32 API References

Search for NetShareGetInfo at msdn, google or google groups.

Return Value

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