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.
1 2 3 | if (process.getuid) { console.log(`Current uid: ${process.getuid()}`); } |
Please login to continue.