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

Retrieving Logon User ID not CurrentUser 1

Status
Not open for further replies.

Bronte1226

Technical User
Oct 18, 2002
123
US
I have used this function before but I cannot for the life of me remember it now. There is a function very similar to CurrentUser() but instead of returning the Access user's name it can retrieve the user login name for the computer user that is modifying a record for example. (The Windows NT logon name) Does anyone remember this function?!?
 
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top