in reply to getpwuid issue
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.
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.
|
---|
In Section
Seekers of Perl Wisdom