process.getuid()
Note: this function is only available on POSIX platforms (i.e. not Windows, Android)
Gets the user identity of the process. (See getuid(2).) This is the numerical userid, not the username.
if (process.getuid) { console.log(`Current uid: ${process.getuid()}`); }
Please login to continue.