Title: Message
You need to set the rights specified in the AdminMisc home page (http://www.roth.net/perl/adminmisc/) for *the user running the script*.
dave
-----Original Message-----
From: Bas Janssen [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 04, 2002 12:34 AM
To: Perl-Win32-Users (E-mail); [EMAIL PROTECTED]
Subject: AdminMisc::LogonAsUser

Hello,
 
When I run the following script , it just doesn't logon as the other user :
I have set the NewUser 'User rights' as described in the readme.
 
Win32::AdminMisc::LogonAsUser($Domain,$newUser,$Password);
$newName=Win32::AdminMisc::GetLogonName();
....
 
Has someone got it working or any ideas ?
 
Thanks
 
Bas Janssen
Holland

Reply via email to