Reputation: 10503
I am using ColdFusion 9.1.2.
Our intranet users are currently logging in to a workstation via Active Directory. I want our ColdFusion intranet page to display their Active Directory username.
Are there Active Directory variables available to ColdFusion? How do I access them?
Upvotes: 3
Views: 1949
Reputation: 748
http://www.webmasterkb.com/Uwe/Forum.aspx/cold-fusion/15060/Pass-current-login-name-to-coldfusion
Mattastic - 24 Jul 2007 09:53 GMT
If you have integrated authentication enabled in IIS, CGI.AUTH_USER will be set to the DOMAIN\username of the current user.
I haven't done it before, but this seems to be the answer.
Upvotes: 2