Hi Mike I have dumped the cgi scope but in the results returned it displays
AUTH_USER [empty string] Any ideas why this is happening, I thought this should display my network/login ID? as it is windows domain authentication via a thin client device Ian -----Original Message----- From: Dawson, Michael [mailto:m...@evansville.edu] Sent: 12 January 2009 17:39 To: cf-talk Subject: RE: Active Directory - Getting a users Accountname Regardless of the device (PC, thin client, phone), if you are using Windows Basic Authentication, it probably brings back a username/password in the CGI scope. Dump the entire CGI scope and see if you can find the username/password values. Are you using a different type of authentication such as NT Challenge/Response or Digest? Mike -----Original Message----- From: Ian Vaughan [mailto:i.vaug...@neath-porttalbot.gov.uk] Sent: Monday, January 12, 2009 11:09 AM To: cf-talk Subject: RE: Active Directory - Getting a users Accountname Hi Mike It is using Windows authentication security but on a thin client device not an actual PC Then following just brings back a blank page? <p><cfoutput>#cgi.auth_user#</cfoutput></p> Ian -----Original Message----- From: Dawson, Michael [mailto:m...@evansville.edu] Sent: 12 January 2009 16:20 To: cf-talk Subject: RE: Active Directory - Getting a users Accountname If you are using Windows authentication security, it will be available as cgi.auth_user. It may be different, depending on your web server. CFDUMP the cgi scope to be sure. Mike -----Original Message----- From: Ian Vaughan [mailto:i.vaug...@neath-porttalbot.gov.uk] Sent: Monday, January 12, 2009 9:34 AM To: cf-talk Subject: Active Directory - Getting a users Accountname Hi How do you query a logged in domain users networkID/accountname via Coldfusion. I would like CF to pick up automatically a users domain networkID and then set this as a variable to query against another database, although at the moment I am using a CFDUMP just to see the result. This is what I have at the moment, and I am getting the error below "Variable SAMACCOUNTNAME is undefined." ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317834 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4