Get Process User name????
Posted on 2006-01-05
Is there any way to get the User Name that shows up in the task manager for a specific process? I know how to access the process collection and get pretty much every other piece of info from each one, but for the life of me, I can't figure out how to get the user name. I'm trying to automate Excel and have to manually kill each proces and I want to be able to pinpoint the exact process I'm trying to kill vs kill the first one in the list. Is there any other way I can pinpoint a particular process?