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.
"Richard" <Ri*****@discussions.microsoft.com> wrote in message
news:B0**********************************@microsof t.com...
System.Environment.Username
--Richard
"Moses M" wrote:
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