anadem has asked for the wisdom of the Perl Monks concerning the following question:
I humbly request enlightenment on the issue of obtaining the current UserSID in perl on Windows. Searches in the googolsphere have been entertaining but ultimately fruitless -- can any kind monks give me help?
(The need is to access the registry from a process running under msiexec --an install-- when the "current user" is not the logged-in user because the process is running with system privilege. By reading from HKU\UserSID I can reach the right data.
The Windows API function LookupAccountName returns a SID structure, but somehow I can't find the CPAN digest which reportedly implements that.)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: getting UserSID in Windows
by Albannach (Monsignor) on May 25, 2007 at 19:25 UTC | |
by anadem (Scribe) on May 25, 2007 at 21:37 UTC | |
Re: getting UserSID in Windows
by ikegami (Patriarch) on May 29, 2007 at 20:07 UTC | |
Re: getting UserSID in Windows
by girarde (Hermit) on May 29, 2007 at 16:07 UTC |
Back to
Seekers of Perl Wisdom