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

  • Thread starter Thread starter Denis @ TheOffice
  • Start date Start date
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
 
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.
 
Back
Top