faqts : Computers : Programming : Languages : Python

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

6 of 12 people (50%) answered Yes
Recently 4 of 9 people (44%) answered Yes

Entry

How do I get the UID from os.stat mapped to a real username in NT?

Jul 22nd, 2002 06:45
Markus Indenbirken, Lance,


You might want to try Python's win32 extensions:
win32security.GetFileSecurity(YOUR_PATH,OWNER_SECURITY_INFORMATION)
Haven't tried it myself, though.