[Pdx-pm] Perl Win32 help!

Michael G Schwern schwern at pobox.com
Thu Feb 3 13:45:01 PST 2005

On Thu, Feb 03, 2005 at 01:36:54PM -0800, Spicy Spam wrote:
> I am having a problem with ActiveState Perl Win32 AdminMisc module. I
> need a way to impersonate another domain user during the life time of
> a script. From Dave Roth's book "Win32 Perl Programming", there is a
> section on "Impersonating a user" using his Win32::AdminMisc module (it
> is not part of ActiveState Perl distro). I follow the instruction, run
> "Win32::AdminMisc::LogonAsUser" and when I check the result with
> "Win32::AdminMisc::GetLogonName", I notice the login user has not
> changed.

I'm going to ask the obvious question: what did LogonAsUser return?

More information about the Pdx-pm-list mailing list