Information about the currently effective user (returned by Os.userInfo method).

On POSIX platforms, this is typically a subset of the password file.

See also:

Fields

uid:Int

-1 on Windows

shell:Null<EitherType<String, Buffer>>

null on Windows

homedir:EitherType<String, Buffer>

Provided by the operating system. This differs from the result of Os.homedir, which queries several environment variables for the home directory before falling back to the operating system response.

gid:Int

-1 on Windows