Rails equivalent of IIS' request.ServerVariables?

Cayce Balara wrote:


Does anyone have a methodology for accessing the Windows Network ID of the logged in user from within a Rails application?
My company has an IIS/asp framework for its intranet. All those pages make use of the ServerVariables data embedded in the Request object to access the user name of the logged-in network user, as in:
Request.ServerVariables("LOGON_USER")
Apparently ServerVariables is something that IIS wraps into the Request object. I need something equivalent in Rails, or I'll never be able to get traction with RoR here.
Any ideas?

Server variables are just a derivative of Environment variables. Those are accessible through Ruby, and hence Rails.

logolarge.png