Hi all,
Happy new year ;-)
Here is my crazy issue.
Situation :
On vista, i have my admin account named "ADMIN" and another account named
"TOTO"
i created a C# application and launch it through "TOTO" account.
the application request Rights Elevation .
so when i start the application, Vista request ADMIN password to use this
account & rights...
My problem is : i no longer arrive to get TOTO Environnement Variables !
even the Vista Logged username TOTO is impossible to retrieve through my
application
i tried : Environnement.UserName ->ADMIN
Registry keys (HKEY_CURRENT_USER) : all are swapped to ADMIN
values ...
Security.Permission ... namespace : Same result !
This issue make me crazy !!! if anyone know how to ...
Thanks in advance
GuiD