summaryrefslogtreecommitdiff
path: root/doc/api/process.md
diff options
context:
space:
mode:
authorSam Ruby <rubys@intertwingly.net>2018-07-12 13:48:11 -0400
committerMichaƫl Zasso <targos@protonmail.com>2018-08-07 08:53:33 +0200
commit40af9767a287d2c40832d93dd3ffee49dab24bfb (patch)
tree27ab89e8c8a16733825fbd902db3ba0ae5a868fb /doc/api/process.md
parent2bf9a4a09e599a6c9e551c67f6f3344598216853 (diff)
downloadnode-new-40af9767a287d2c40832d93dd3ffee49dab24bfb.tar.gz
doc: declare all parameter types
PR-URL: https://github.com/nodejs/node/pull/21782 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Diffstat (limited to 'doc/api/process.md')
-rw-r--r--doc/api/process.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/api/process.md b/doc/api/process.md
index dd0314cf6c..0c35007103 100644
--- a/doc/api/process.md
+++ b/doc/api/process.md
@@ -1695,6 +1695,7 @@ This feature is not available in [`Worker`][] threads.
<!-- YAML
added: v0.1.28
-->
+* `id` {integer | string}
The `process.setuid(id)` method sets the user identity of the process. (See
setuid(2).) The `id` can be passed as either a numeric ID or a username string.