Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Get Local Username

Status
Not open for further replies.

tyrant1969

Programmer
Dec 13, 2004
68
0
0
US
Does anyone know if there is a way to obtain the name of the user who is logged in to a device via CF, Javascript, anything.

All of my PCs are part of a domain, so they will have some kind of a username defined.

Any thoughts at all?
 
If the users are logged in then you can create a SESSION Struct that holds the username, firstname, lastname, etc and call the SESSION var where you need to.


____________________________________
Just Imagine.
 
I think tyrant1969 is trying to find the Network login of the person viewing the CF page.


Hope This Helps!

ECAR
ECAR Technologies

"My work is a game, a very serious game." - M.C. Escher
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top