Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

Guest
Apr 12, 2012 Apr 12, 2012

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

835
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 12, 2012 Apr 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 12, 2012 Apr 12, 2012

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 12, 2012 Apr 12, 2012
LATEST

there is a tag called cfldap

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources