NAME

App::LDAP::LDIF::Group - the representation of groups in LDAP

SYNOPSIS

my $group = App::LDAP::LDIF::Group->new(
    base      => $base,            # The OU (organization unit) which the group belongs to
    cn        => [$name],          # the group name
    gidNumber => $id,              # the gid of the group
);
# these three attributes are required

my $entry = $group->entry;
# get the group as a instance of Net::LDAP::Entry

my $group = App::LDAP::LDIF::Group->new($entry)
# new from a entry