Skip to main content
April 12, 2012
Question

Looking up user's first and last name with Integrated Windows Authentication

  • April 12, 2012
  • 1 reply
  • 888 views

Hello,

I am building an intranet web application and would like to use Integrated Windows Authentication.  I am easily able to retrieve the user's Active Directory domain name and username (SAMAccountName) using any of the following:

cgi.remote_user

cgi.auth_user

GetAuthUser()

However I would like to have their first name and last name as well.  Does anyone know how I can get this information?

Thanks!

Jon

This topic has been closed for replies.

1 reply

Inspiring
April 12, 2012

If it's in AD, you can get it.  Since I don't know what the fields are called, I'd have to do a google search on "active directory field names".  But you can do that yourself.

April 12, 2012

But how do I query AD from coldfusion? Sorry I'm new to coldfusion.

Inspiring
April 13, 2012

there is a tag called cfldap