![]() |
|
Syntactic Confectionery Delight | |
PerlMonks |
Re: getpwuid issueby cdarke (Prior) |
on Dec 02, 2011 at 18:22 UTC ( #941409=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|