Skip to main content
Participating Frequently
February 10, 2009
Question

Retrieve userid and password

  • February 10, 2009
  • 5 replies
  • 514 views
How do you retrieve the userid and password using coldfusion when you login to windows?
This topic has been closed for replies.

5 replies

tclaremont
Inspiring
February 16, 2009
Typically the CF developer does not care what the password is. They just care that the person is authenticated on the network. It is very wise of your admin to not allow the password to be displayed, obviously.

Why do you need the actual password, rather than just knowing that the person is authenticated on the domain?
Participating Frequently
February 16, 2009
Is there another way to retrieve password from LDAP in CF when the authentication is off?
Participating Frequently
February 10, 2009
Authentication is not check. Our net admin will not allow it. I was hoping that there's another way. When I use #CGI.AUTH_USER#, the password is blank.
tclaremont
Inspiring
February 10, 2009
Assuming integrated authentication is checked, and the server is IIS, you can use CGI variables.

Put this on a page and see what it gives you: #CGI.AUTH_USER#
Inspiring
February 10, 2009
The one in Active Directory?
Participating Frequently
February 10, 2009
Yes in active directory