User name a ssociated with a runningn process

M

Moses M

I need to get the the user name associated with a running process (Listed as
"UserName" in Task Manager Window). The Process Class doesn't seem to
provide a direct way for doing this! Thanks
-- Moses
 
M

Moses M

Looks like I ddid not I explain the problem clearly. Task Manager lists
processes running on a local system, including a "user name" associated
with each process (e.g. SYSTEM). My application needs to check if a
particular process is running, and if so get the associated "owner". I am
really trying to determine the security context in which the process was
started. Thanks for any input.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top