On behalf of which user the process was launched

By the identifier (PID) of the process, we find out the username on behalf of which it was launched.

Options

pid - process identifier (PID)

Result

Username or empty string if unsuccessful.

Author: admin