def get_process_username(self): """Return the name of the user that owns the process""" if self.pid in (0, 4): return 'NT AUTHORITY\\SYSTEM' return _psutil_mswindows.get_process_username(self.pid)
def get_process_username(self): """Return the name of the user that owns the process""" if self.pid in (0, 4) or self.pid == 8 and _WIN2000: return 'NT AUTHORITY\\SYSTEM' return _psutil_mswindows.get_process_username(self.pid)
def get_process_username(self): """Return the name of the user that owns the process""" if self.pid in (0, 4) or self.pid == 8 and _WIN2000: return "NT AUTHORITY\\SYSTEM" return _psutil_mswindows.get_process_username(self.pid)