in reply to
See Win32::Security::NamedObject, explicitly ownerSid.For background, the Win32API C is either GetFileSecurity() (get OWNER_SECURITY_INFORMATION) or GetNamedSecurityInfo(). Both with return the SID of the owner, which you have to convert to a user name.
Electric dreams (yikes!)
2001: A Space Odyssey
None of the above, please specify
Results (275 votes),