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]