(dict,...) = NetFileEnum(level, servername , basepath , username )

Lists remotely opened resources on a server


level : int

Level of information, 2 or 3 supported

servername=None : string/PyUnicode

The name of the server for which to list open resources, local machine assumed if None

basepath=None : string/PyUnicode

If specified, limits returned list to files on given path

username=None : string/PyUnicode

User that opened resource, or None to list open files for all users

Return Value

Returns a sequence of dictionaries representing FILE_INFO_* structs, depending on level specified