The environment variable "UserName" will get populated by Windows according to the logged on user, if you logged in as Mike, then it will be "Mike", if you logged in as Michael, then "Michael" will be. Go to "Control Panel" -> "User Accounts" -> "Users" tab, and Add the user you want (Mike or Michael), make sure they both have the same rights and delete the one you do not want (Michael or Mike)
>I have a bit of an issue. We have a standalone version of the inhouse program that goes onto the salesforce laptops. We have had a new laptop purchased and the machine was setup with a different name than the previous laptop. Mike vs. Michael. The program uses the Getenv('USERname') to retrieve the username and verify against a provided list. I cannot figure out how,where, or what info to change for the new laptop to work like the old laptop did. Any suggestions?
>
>Thanks in advance
>Kelly
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?
"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare
"To die for a religion is easier than to live it absolutely"
Jorge L. Borges