create_superlibrarian.pl - create a user in Koha with superlibrarian permissions
create_superlibrarian.pl --userid <userid> --password <password> --branchcode <branchcode> --categorycode <categorycode> --cardnumber <cardnumber> --surname <surname>
Options: -?|--help brief help message --userid specify the userid to be set --password specify the password to be set --branchcode specify the library code --categorycode specify the patron category code --cardnumber specify the cardnumber to be set --surname specify the surname to be set
Print a brief help message and exits
To specify the userid to be set in the database
To specify the password to be set in the database
Library code
Patron category's code
Patron's cardnumber
Patron's surname. If not provided, the given userid will be used.
A simple script to create a user in the Koha database with superlibrarian permissions