Solved

Display NT Login Username on Cold Fusion page

Posted on 2002-04-17
4
173 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
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…

813 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now