Mwnci getgrnam() Function

Syntax

getgrnam(string)

Description

The getgrnam() function returns a hash of the group for the given group name.

Example

include("grp")
println(getgrnam("root"))

{"Gid": 0, "Members": [], "Group": "root", "Password": "x"}