"User A" is logged on My application recognizes Environment.Username as "User A"
Now in Windows, I click on Switch user ... "User B" logs on
"User A's" processes are still running Application run by "User A" still says Environment.Username is "User A" I want the application to recognize that the currently logged on user (currently active user) is "User B"
How do I do this?