I recently saw an embedded example of getting the logged in Windows user name.
(By embedded, I mean it wasn't the reason the code was sent, I just happened across it inside the code).
I can't seem to find that example (since I don't know which one it came out of).
A search on MSDN (thanks for that info Shawn!) returned the GetUserName variable.
However, I'm not sure how to get this info out of the system.
I tried feeding the text string GetUserName into the getEnv(envStr) function, but nothing came out.
The help indicates the getEnv(envStr) only gets VEE environment variables, not system variables.
So there are two questions now:
1) How does one properly get the Windows User Login?
2) Is there a list somewhere of the VEE environment variable that are valid for the getEnv(envStr) function?
I don't think it will be relevant, but I am using VEE 6.03 currently.
1718 West Mishawaka Road
Elkhart, IN 46517
Phone : (574) 294-8000 x8475
Fax : (574) 294-8223
You are currently subscribed to vrf as: firstname.lastname@example.org
To subscribe send a blank email to "email@example.com".
To unsubscribe send a blank email to "firstname.lastname@example.org".
To send messages to this mailing list, email "email@example.com".
If you need help with the mailing list send a message to "firstname.lastname@example.org".