Name

SPVM::Sys::User::Group - Entry of Group Database

Usage

use Sys::User;
use Sys::User::Group;

Sys::User->setgrent;

# Get a Sys::User::Group object
my $group = Sys::User->getgrent;

my $group_name = $group->gr_name;

Sys::User->endgrent;

Description

Sys::User::Group is the class for an entry of the group database.

gr_name

method gr_name : string ();

Get the group name.

gr_passwd

method gr_passwd : string ();

Get the group password.

gr_gid

method gr_gid : int ();

Get the group ID.

gr_mem

method gr_mem : string[] ();

Get the group member names.

Copyright & License

Copyright (c) 2023 Yuki Kimoto

MIT License