Skip to main content

uid

function Deno.uid
allow-sys
Jump to headinguid(): number | null

Returns the user id of the process on POSIX platforms. Returns null on Windows.

console.log(Deno.uid());

Requires allow-sys permission.

Return Type Jump to heading

number | null
Back to top