Solved

Display NT Login Username on Cold Fusion page

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

A web service (http://en.wikipedia.org/wiki/Web_service) is a software related technology that facilitates machine-to-machine interaction over a network. This article helps beginners in creating and consuming a web service using the ColdFusion Ma…
Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

757 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

20 Experts available now in Live!

Get 1:1 Help Now