I am writing a script which needs to determine the username of the owner of files on windows.

While I found a solution using pywin32 but I am hesitant to use it, as I do not want to add the module dependency.

The script will be written for python 2.6 and has to run on both 32bit and 64 plattforms.

I was wondering if there is a different method, maybe with ctypes, to determine this information

Edit
Report