Newsgroups : Borland : borland.public.delphi.rtl.win32 : 2005 Jun : Owner of Process?

www.cryer.info
Managed Newsgroup Archive

Owner of Process?

Subject:Owner of Process?
Posted by:"Malcolm Coulter" (mcoult..@giat.co.za)
Date:Tue, 7 Jun 2005 19:59:34

Given that I know the ID of a process, how can I program to find the name of
the user that owns that process?

Although having multiple users simultaneously logged on may not be the usual
situation, it is probably far from rare.
When walking through the Windows process/task list, one may need to ignore
those processes that do not belong to the current user.

Replies:

www.cryer.info
Managed Newsgroup Archive