Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I display the username of a user currently logged in to our web site?

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?

like image 635
Evik James Avatar asked Dec 07 '25 05:12

Evik James


1 Answers

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.

like image 50
Bradley Moore Avatar answered Dec 10 '25 02:12

Bradley Moore



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!