Qore Programming Language Reference Manual  1.12.1
UNIX User and Group Functions

UNIX user and group functions

Group Information Hash

Key Type Description
gr_name string The name of the group
gr_passwd string The encrypted password for the group
gr_gid int The group id
gr_mem list List of strings giving the usernames of members of the group

Password Information Hash

Key Type Description
pw_name string The username of the user
pw_passwd string The encrypted password for the user
pw_gecos string The real name or description of the user
pw_dir string The user's home directory
pw_shell string The user's login shell
pw_uid int The user's userid
pw_gid int The group id of the user's primary group