win32net.NetUseAdd

NetUseAdd(server, level, data)

Establishes connection between local or NULL device name and a shared resource through redirector

Parameters

server : string/PyUnicode

The name of the server, or None.

level : int

The information level contained in the data

data : mapping

A dictionary holding the share data in the format of PyUSE_INFO_*.

Win32 API References

Search for NetUseAdd at msdn, google or google groups.