Zenistar has asked for the wisdom of the Perl Monks concerning the following question:
I've been trying to use Win32::NetAdmin::LoggedOnUsers which works well apart from it returns a hash containing all of the accounts logged in from the workstation e.g. system accounts that are used with services etc.
Is there anyway I can either extract the username from the machine directly or extract the information from the remote pc's enviroment variables as USR_ID and USERNAME set correctly.
Many thanks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Extracting the name of a logged in user on a remote w2k workstation
by benn (Vicar) on Aug 17, 2003 at 15:34 UTC | |
by Zenistar (Initiate) on Aug 17, 2003 at 15:46 UTC | |
by Kanji (Parson) on Aug 17, 2003 at 16:04 UTC | |
by Zenistar (Initiate) on Aug 17, 2003 at 16:52 UTC |