User Environment variables are separate for each user account on machine.
Consider the following, I'm logged in with userA
which is non admin user account, now I want to get/set other user's (say userB
) environment variable by using C# application running in userA
's context.
Is this possible to do? And if so, how could I do this?