Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 180
  • Last Modified:

Display NT Login Username on Cold Fusion page

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
Mofufus23
Asked:
Mofufus23
  • 2
1 Solution
 
meverestCommented:
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
 
dash420Commented:
#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
 
meverestCommented:
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
 
SpideyModCommented:
Force Accepted

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now