Mwnci getpwuid() Function

Syntax

getpwuid(integer)

Description

The getpwuid() function returns a hash of the group for the given Gid.

Example

include("pwd")
println(getpwuid(0))

{"User": "root", "Uid": 0, "Gid": 0, "Gecos": ["root"], "Home": "/root", "Shell": "/bin/bash"}