James Tucker wrote:
> def get_user; ENV['USERNAME']; end

The issue here is that it will return the username Im using to log into 
the box
using net/telnet.

Iam looking for the username of the guy seated in front of the computer.
Something similar to the  UNIX 'finger,who,w' commands

I've already tried looking in the registry with out success.


/. thNKs

-- 
Posted via http://www.ruby-forum.com/.