NAME

App::LDAP::LDIF::User - the representation of users in LDAP

SYNOPSIS

my $user = App::LDAP::LDIF::User->new(
    ou       => $ou,         # the OU (organization unit) which the user belongs to
    name     => $name,       # user name
    password => $password,   # the password used by the user
    id       => $id,         # the uid of the user, copying to be gid as default
);

$user->loginShell("/bin/zsh")
# set zsh as the user's shell

$uesr->gidNumber("27")
# set the user to have 27 as group id

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