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 - 1.26 xestiascan_users_edit</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">1.26 xestiascan_users_edit</span>
\r
20 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.
\r
25 xestiascan_users_edit(username, userinfo, scannerinfo, outputmoduleinfo, exportmoduleinfo, confirm);
\r
31 $pagedata = xestiascan_users_add();
\r
32 $pagedata = xestiascan_users_add(“New User”, \%userinfo, \%scannerinfo, \%outputmoduleinfo, \%exportmoduleinfo, 1);
\r
36 Specifies the username to edit from the user list. This is required in all cases.
\r
39 Specifies the user information as a hashref.
\r
41 <table class="infotable">
\r
43 <td class="tableheading">Setting</td>
\r
44 <td class="tableheading">Value</td>
\r
47 <td class="tabledata">OriginalUsername</td>
\r
48 <td class="tabledata">Specifies the original username.</td>
\r
51 <td class="tabledata">NewUsername</td>
\r
52 <td class="tabledata">Specifies the new username.</td>
\r
55 <td class="tabledata">Name</td>
\r
56 <td class="tabledata">Specifies the name of the user.</td>
\r
59 <td class="tabledata">Password</td>
\r
60 <td class="tabledata">Specifies the password of the user.</td>
\r
63 <td class="tabledata">ConfirmPassword</td>
\r
64 <td class="tabledata">Specifies the confirmed password (should be same as Password).</td>
\r
67 <td class="tabledata">Admin</td>
\r
68 <td class="tabledata">Specifies if the user has administrative privledges.</td>
\r
71 <td class="tabledata">Enabled</td>
\r
72 <td class="tabledata">Specifies if the account is enabled.</td>
\r
76 <i>scannerinfo</i><br>
\r
77 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).
\r
79 <i>outputmoduleinfo</i><br>
\r
80 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).
\r
82 <i>exportmoduleinfo</i><br>
\r
83 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).
\r
86 Confirms the action to add the user.
\f\r