Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Display NT Login Username on Cold Fusion page

Posted on 2002-04-17
4
174 Views
Last Modified: 2013-12-24
I am creating an Intranet Project that requires me to display the user's first and last name automatically based on their NT Login Username. Is there a tag or custom tag on how to do this? I heard a little about #cgi.auth_user#. How does this work?
0
Comment
Question by:Mofufus23
  • 2
4 Comments
 
LVL 37

Accepted Solution

by:
meverest earned 100 total points
ID: 6949253
hello use cgi.auth_user to retrieve the username of the authenticated user.

use a cfx (like cfx_usermanager) to obtain additional information about the user.

you can get a copy of an nt usermanager cfx from here www.xilo.com/downloads - there are a few different ones around....

cheers.
0
 
LVL 6

Expert Comment

by:dash420
ID: 7184867
#cgi.auth_user# will gives you logon user id. suppose my nt log name is "xyz" and password is "abc". #cgi.auth_user# will gives xyz. but it will never gives the name.

#cgi.remote_user# also gives same result. To get name create one table and with userid and name. then fetch name from table where userid = #cgi.remote_user# and show user name.


 
0
 
LVL 37

Expert Comment

by:meverest
ID: 7278426
ok, so about 2 dozen people have downloaded cfx_ntusrmanager from that url - were you one of them?  did it work for you?

cheers.
0
 

Expert Comment

by:SpideyMod
ID: 8300782
Force Accepted

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
IPA - can it be run on a web server? 3 207
ColdFusion Rereplace 3 81
UPLOAD FILE TO Web API USING POST 5 122
Has my website been infiltrated? 21 68
Have you ever sent email via ColdFusion and thought of tracking this mail to capture the exact date and time when the message was opened ?  If yes, then this article is for you ! First we need a table user_email with columns user_id , email , sub…
Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question