Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
But how do I query AD from coldfusion? Sorry I'm new to coldfusion.
Copy link to clipboard
Copied
there is a tag called cfldap