in reply to Win32::AdminMisc::LogonAsUser does not seem to work.

Is there any reason you don't report what is printed after the "Failed Logon" line? BTW, you can shorten that entire line to be simply print $^E,$/;.

        - tye (but my friends call me "Tye")

Replies are listed 'Best First'.
Re: (tye)Re: Win32::AdminMisc::LogonAsUser does not seem to work.
by Marza (Vicar) on Jul 29, 2002 at 16:26 UTC

    Sorry about that. I didn't because it is not a helpful message. It simply states: The operation completed successfully

    As to the code suggestion. Thanks! Shorter code good! ;)