In a VB6 script, I am trying to extract a username or windows logon name in Vista after elevation. Currently, I have a VB6 program that extracts user name and profile location in XP.
But under Vista, the program requires elevated privileges. Once a admin user name/password are entered to execute the program, the only user name or profile name that is extracted from the program is the admin user name/profile.
Is there a way around this?