1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
\r
4 <link href="style.css" REL="stylesheet" TYPE="text/css" MEDIA="screen">
\r
5 <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
\r
6 <title>Xestia Scanner Server Documentation - Developer Documentation - 3.13 edituser</title>
\r
9 <div class="menubarback">
\r
10 <div class="menubar">
\r
11 <span class="apptitle">Xestia Scanner Server</span>
\r
12 <a href="index.html">Index</a> | <a href="user.html">User
\r
13 Documentation</a> | <a href="tutorial.html">Tutorial Documentation</a> |
\r
14 <a href="developer.html">Developer Documentation</a>
\r
17 <div class="pageinformation">
\r
18 <span class="pagetitle">3.13 edituser</span>
\r
20 Edits a user’s details.
\r
25 $xestiascan_authmodule->edituser(username, type, data);
\r
31 $xestiascan_authmodule->edituser(“User”, “User”, %userdata);
\r
35 Specifies the username to use.
\r
38 Specifies the type of data. This is either User, Scanner, OutputModule or ExportModule.
\r
41 Specifies the data as a hash.
\r
43 User Data Type Hash:
\r
45 <table class="infotable">
\r
47 <td class="tableheading">Setting</td>
\r
48 <td class="tableheading">Description</td>
\r
51 <td class="tabledata">Username</td>
\r
52 <td class="tabledata">Specifies the username to use for the new user.</td>
\r
55 <td class="tabledata">Name</td>
\r
56 <td class="tabledata">Specifies the name of the new user.</td>
\r
59 <td class="tabledata">Password</td>
\r
60 <td class="tabledata">Specifies the password to use.</td>
\r
63 <td class="tabledata">ConfirmPassword</td>
\r
64 <td class="tabledata">Specifies the confirmed password to use (should be same as Password).</td>
\r
67 <td class="tabledata">Admin</td>
\r
68 <td class="tabledata">Specifies if the account has administrative privileges.</td>
\r
71 <td class="tabledata">Enabled</td>
\r
72 <td class="tabledata">Specifies if the account is enabled or not.</td>
\r
76 Scanner Data Type Hash:
\r
78 <table class="infotable">
\r
80 <td class="tableheading">Setting</td>
\r
81 <td class="tableheading">Description</td>
\r
84 <td class="tabledata">ScannerID</td>
\r
85 <td class="tabledata">Specifies the scanner ID. A setting of “on” means the user should have permission to use this scanner.</td>
\r
89 OutputModule Data Type Hash:
\r
91 <table class="infotable">
\r
93 <td class="tableheading">Setting</td>
\r
94 <td class="tableheading">Description</td>
\r
97 <td class="tabledata">OutputModule</td>
\r
98 <td class="tabledata">Specifies the name of the module. A setting of “on” means the user should have permission to use the output module.</td>
\r
102 ExportModule Data Type Hash:
\r
104 <table class="infotable">
\r
106 <td class="tableheading">Setting</td>
\r
107 <td class="tableheading">Description</td>
\r
110 <td class="tabledata">ExportModule</td>
\r
111 <td class="tabledata">Specifies the name of the module. A setting of “on” means the user should have permission to use the export module.</td>
\r