WhoAmIResult (interface)
The type of the return value of whoami.
}
WhoAmIResult.name (string property)
WhoAmIResult.uid (number property)
WhoAmIResult.gid (number property)
whoami (function)
Get info about the user the yavascript process is executing as.
Provides functionality similar to the unix binaries whoami and id.
NOTE: Doesn't work on Windows; throws an error.