Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Finding out who has logged on remotely!

by InfiniteLoop (Hermit)
on Mar 29, 2005 at 12:43 UTC ( [id://443119]=note: print w/replies, xml ) Need Help??


in reply to Finding out who has logged on remotely!

I have'nt used Win32::NetAdmin, but the document says this:

LoggedOnUsers(server, userRef)
   Gets an array or hash with the users logged on at the specified computer. If userRef is a hash reference, the value is a semikolon separated string of username, logon domain and logon server.

so I presume, you should be doing this:
my %user_ref; LoggedOnUsers( "$data", %user_ref); if (!%user_ref){ print "\n\n Not happening\n\n"; }else{ print "\n\nwahey\n\n"; }

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://443119]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (10)
As of 2024-04-18 16:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found