Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Deno.getUid

Unstable new API. yet to be vetted.

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

console.log(Deno.getUid());

Requires allow-env permission.

function getUid(): number | null;
§
getUid(): number | null
[src]

§Return Type

§
number | null
[src]