I've built an intranet application on Ruby on Rails running on Windows. Everyone who will be accessing this app is running on Windows and is already logged into the network with Windows.
All I need to do is to grab the login name of the logged in user and save that login name to a session variable. I tried ENV['USERNAME'] but that only shows the person who is logged into the server box, which is me.
Is there any way to automatically grab and store that variable from the users who are access the site? I know that I could ask them for it but I assume that there must be some way to grab it.
Thanks...Chris