table of contents
App::Dochazka::CLI::Commands::Employee(3pm) | User Contributed Perl Documentation | App::Dochazka::CLI::Commands::Employee(3pm) |
NAME¶
App::Dochazka::CLI::Commands::Employee - Employee commands
PACKAGE VARIABLES AND EXPORTS¶
FUNCTIONS¶
Command handlers¶
employee_profile
EMPLOYEE EMPLOYEE_SPEC EMPLOYEE PROFILE EMPLOYEE_SPEC PROFILE EMPLOYEE SHOW EMPLOYEE_SPEC SHOW
employee_ldap
EMPLOYEE LDAP EMPLOYEE_SPEC LDAP
employee_ldap_import
EMPLOYEE_SPEC LDAP IMPORT
employee_list
EMPLOYEE LIST EMPLOYEE LIST _TERM
employee_team
EMPLOYEE TEAM
set_employee_self_sec_id
SET EMPLOYEE SEC_ID _TERM
set_employee_self_fullname
SET EMPLOYEE FULLNAME
set_employee_other_sec_id
EMPLOYEE_SPEC SET SEC_ID _TERM
set_employee_other_fullname
EMPLOYEE_SPEC SET FULLNAME
set_employee_self_password
Reset one's own password
EMPLOYEE PASSWORD EMPLOYEE SET PASSWORD
set_employee_other_password
Reset password of an arbitrary employee
EMPLOYEE_SPEC PASSWORD EMPLOYEE_SPEC SET PASSWORD
set_employee_supervisor
Set supervisor of an arbitrary employee
EMPLOYEE_SPEC SUPERVISOR _TERM EMPLOYEE_SPEC SET SUPERVISOR _TERM
Helper functions¶
Functions used by multiple handlers
determine_priv
Given an employee object, return the current priv level of that employee. If the employee doesn't exist, the return value will be undef.
determine_supervisor
Given an employee object, return supervisor employee object. If no supervisor can be determined, the 'eid' and 'nick' attributes of the resulting supervisor object will be undefined.
_set_employee
Function that the handlers are wrappers of
_set_password
Takes PARAMHASH with following properties:
eid => EID of employee password => the new password (*optional*)
_display_employee_ok
Given an employee object, prepare OK return status intended for EMPLOYEE PROFILE but usable also for other commands.
2016-09-15 | perl v5.40.0 |