Help for this page

Select Code to Download


  1. or download this
    
    #In the application or scripts
    ...
    #roles must be registered to avoid typos
    My::Authentication::add_role([roles]);
    My::Authentication::rem_role([roles]);
    
  2. or download this
    #in an user_admin.pl script
    use My::Authentication;
    My::Authentication::administer();
    #  Then the script would handler EVERYTHING ELSE 
    #  (list users, allow editing, updating, deleting, roles etc.)