We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16cee69 commit 888f667Copy full SHA for 888f667
1 file changed
doc/api/process.md
@@ -1691,7 +1691,7 @@ This feature is not available in [`Worker`][] threads.
1691
<!-- YAML
1692
added: v0.1.28
1693
-->
1694
-* `id` {integer}
+* `id` {integer | string}
1695
1696
The `process.setuid(id)` method sets the user identity of the process. (See
1697
setuid(2).) The `id` can be passed as either a numeric ID or a username string.
0 commit comments