Skip navigation
Currently Being Moderated

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

Apr 12, 2012 2:49 PM

Tags: #active_directory #remote_user #getauthuser() #auth_user #windows_authentication

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

 
Replies
  • Currently Being Moderated
    Apr 12, 2012 3:04 PM   in reply to JonH77

    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.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 12, 2012 7:23 PM   in reply to JonH77

    there is a tag called cfldap

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points