How to get the actual user name / owner associated with a process.
I tried using process.StartInfo.EnvironmentVariables(“USERNAME”).
But this is returning the current user name of windows login account.
I want to get the owner associated with the process.
Can someone help me.