RE: LogonAsUser question

2003-01-25 Thread Timothy Johnson
Check the documentation and make sure that you have all of the privileges needed for this to work.  They are not all granted to the Administrators group by default. -Original Message-From: Guess_Who344 [mailto:[EMAIL PROTECTED]]Sent: Saturday, January 25, 2003 1:06 PMTo: [E

LogonAsUser question

2003-01-25 Thread Guess_Who344
Trying to logon locally.Why won't this work?  Doesn't logon and I get the Fatal Error message every time.   user exists, in local administrators group, correct password       use Win32;use Win32::AdminMisc;   $Admin = "superman"; # Put here the name of an administrator$Passw = "s