Howto find out if the process is a system or user the from process ID


D

Denis @ TheOffice

I need to find out from enum process if the process is a system or user.
How can I do that?

Thanks
Denis
 
Ad

Advertisements

B

Ben Voigt

Denis @ TheOffice said:
I need to find out from enum process if the process is a system or user.
How can I do that?

From the SDK docs, try OpenProcessToken and GetTokenInformation using the
TokenUser class.
 

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