When I execute my Access application across alternating sessions, the function Environ("username")
returns the user name of a person in my department other than the actual user whose machine I am then currently using to execute the code.
No other type of user name manipulation occurs throughout the program.
Any idea how this is possible?
This uses Windows API functions to return the name of the user who is currently logged in.
Retrieving Logged-in User Name