3.13 edituser
Edits a user’s details.
Parameters:
$xestiascan_authmodule->edituser(username, type, data);
Usage:
$xestiascan_authmodule->edituser(“User”, “User”, %userdata);
username
Specifies the username to use.
type
Specifies the type of data. This is either User, Scanner, OutputModule or ExportModule.
data
Specifies the data as a hash.
User Data Type Hash:
Setting |
Description |
Username |
Specifies the username to use for the new user. |
Name |
Specifies the name of the new user. |
Password |
Specifies the password to use. |
ConfirmPassword |
Specifies the confirmed password to use (should be same as Password). |
Admin |
Specifies if the account has administrative privileges. |
Enabled |
Specifies if the account is enabled or not. |
Scanner Data Type Hash:
Setting |
Description |
ScannerID |
Specifies the scanner ID. A setting of “on” means the user should have permission to use this scanner. |
OutputModule Data Type Hash:
Setting |
Description |
OutputModule |
Specifies the name of the module. A setting of “on” means the user should have permission to use the output module. |
ExportModule Data Type Hash:
Setting |
Description |
ExportModule |
Specifies the name of the module. A setting of “on” means the user should have permission to use the export module. |