I'm trying to write a script that will return 1 if a user is logged on to a
Win2000 workstation. I don't need to know their name, just if someone is
logged on or not. I've tried using Win32::NetAdmin::LoggedOnUsers, but it
doesn't give any result.
Win32::NetAdmin::LoggedOnUsers($computer, \%result);
$key = keys %result;
print "$computer: $key $result{$key}\n";
Is my code wack, or am I missing something? Are there some security issues
with RestrictAnonymous (the workstations are set at 0), or other registry
security settings?
Any other modules, clues?
Thanks!!!
Charles
___________________________
Charles McIntyre
PC/UNIX Support Engineer
Instructional Computing, UCSC
ph: 831/459-5746
got a question? see http://ic.ucsc.edu/help
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs