User name a ssociated with a runningn process

  • Thread starter Thread starter Moses M
  • Start date Start date
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
 
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.
 
Back
Top