rickgerdes
IS-IT--Management
Hello folks, this one SHOULD be simple, but I'm being dense:
The code:
use Win32::NetAdmin;
my @lou;
Win32::NetAdmin::LoggedOnUsers('',@lou);
print @lou;
The result:
Usage: Win32::NetAdmin::LoggedOnUsers(server, $userRef)
The question:
What am I doing wrong? Other than working in Win32...
I want to query a box, and get the list of logged in users, specifically, I just want a COUNT of logged in users.
Thanks in advance!
The code:
use Win32::NetAdmin;
my @lou;
Win32::NetAdmin::LoggedOnUsers('',@lou);
print @lou;
The result:
Usage: Win32::NetAdmin::LoggedOnUsers(server, $userRef)
The question:
What am I doing wrong? Other than working in Win32...
I want to query a box, and get the list of logged in users, specifically, I just want a COUNT of logged in users.
Thanks in advance!