1.26 xestiascan_users_edit

xestiascan_users_add edits a user from the user list or prints out a form for adding a user if the action to edit a user has not been confirmed.

Parameters:

xestiascan_users_edit(username, userinfo, scannerinfo, outputmoduleinfo, exportmoduleinfo, confirm);


Usage:

$pagedata = xestiascan_users_add(); $pagedata = xestiascan_users_add(“New User”, \%userinfo, \%scannerinfo, \%outputmoduleinfo, \%exportmoduleinfo, 1);


username
Specifies the username to edit from the user list. This is required in all cases.

userinfo
Specifies the user information as a hashref.

Setting Value
OriginalUsername Specifies the original username.
NewUsername Specifies the new username.
Name Specifies the name of the user.
Password Specifies the password of the user.
ConfirmPassword Specifies the confirmed password (should be same as Password).
Admin Specifies if the user has administrative privledges.
Enabled Specifies if the account is enabled.


scannerinfo
Specifies the scanner permissions as a hashref. Each permission is named scanner_(ScannerID) and specifies if the user has permission to use this scanner (A value of ‘on’ would allow the user to use that scanner).

outputmoduleinfo
Specifies the output module permissions as a hashref. Each permission is named outputmodule_(OutputModuleName) and specifies if the user has permission to use this output module (A value of 'on' would allow the user to use that module).

exportmoduleinfo
Specifies the export module permissions as a hashref. Each permission is named exportmodule_(ExportModuleName) and specifies if the user has permission to use this export module (A value of 'on' would allow the user to use that module).

confirm
Confirms the action to add the user.