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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting CurrentUser in Citrix Environment 1

Status
Not open for further replies.

dpav29

Technical User
Aug 3, 2001
155
US
Hi folks,

I used currentuser() to get the username in my app. Everyone shows up as "admin". Does anyone know the citrix "equivalent" to currentuser()??
 
The current user is always going to be Admin unless you setup security and force the users to login to you db. However, if you want to know their nt login name, the following will return it you (haven't tried on Citrix though, but should work):

MsgBox environ("username")

 
I was hoping not to have to set up security at this point. . .what you suggested didn't work, but it's along the lines of what I'm hoping for (to pick up the citrix login name).

Thannks!
 
And what about Environ("UserName") ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
That's it! You're great. . .how do know all this?? You have helped me a lot lately. . .I really appreciate it.

Everyone in this community is great. . .always willing to lend a hand to those in need. . .Tek-Tips is a great resource!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top