Solved

Display NT Login Username on Cold Fusion page

Posted on 2002-04-17
4
176 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
[X]
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
  • 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

Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Script 12 213
Stream live video from Raspberry Pi camera 22 323
Having trouble setting Apache to recognise 2 vitual sites (on different drive). 3 178
WebSite Direction 1 78
Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

737 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