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