Unfortunately no. For that you will probably want to use WMI. However keep in mind that there is no longer a single logged on user. With terminal services you could have multiple users logged into the machine at the same time. You can use Win32::Lanman's terminal service functions, instead, to manipulate logged on users. I explain how in the second edition of my TSE book. ;) http://www.roth.net/books/extensions/
dave -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 05, 2001 9:44 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: force a logoff Can you use this to log a remote user off? John Delisle Corporate Technology Ceridian Canada Ltd 204-975-5909 |--------+-----------------------------------------------> | | [EMAIL PROTECTED] | | | Sent by: | | | [EMAIL PROTECTED]| | | eState.com | | | | | | | | | 2001/12/04 03:53 PM | | | | |--------+-----------------------------------------------> >--------------------------------------------------------------------------- --------------------------------| | | | To: [EMAIL PROTECTED], [EMAIL PROTECTED] | | cc: | | Subject: RE: force a logoff | >--------------------------------------------------------------------------- --------------------------------| Win32::AdminMisc::ExitWindows() You can specify a flag that will log off the user. dave -----Original Message----- From: Ivano Di Domenico [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 04, 2001 8:21 AM To: [EMAIL PROTECTED] Subject: force a logoff Is there a way to force users or machine names to logoff the network using PERL? thank you Ivano _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp _______________________________________________ Perl-Win32-Admin mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin _______________________________________________ Perl-Win32-Admin mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin ********************************************************************** This e-mail and any files transmitted with it are considered confidential and are intended solely for the use of the individual or entity to whom they are addressed (intended). This communication is subject to agent/client privilege. If you are not the intended recipient (received in error) or the person responsible for delivering the e-mail to the intended recipient, be advised that you have received this e-mail in error and that any use, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. If you have received this e-mail in error please notify the sender immediately. ********************************************************************** _______________________________________________ Perl-Win32-Admin mailing list [EMAIL PROTECTED] http://listserv.ActiveState.com/mailman/listinfo/perl-win32-admin
