Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Forked Xestia Scanner Server!
[xestiascansrv/.git] / Documentation / English (British) / developer-chapter1-users-edit.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">\r
2 <html>\r
3         <head>\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
7         </head>\r
8         <body>\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
15                         </div>\r
16                 </div>\r
17                 <div class="pageinformation">\r
18                         <span class="pagetitle">1.26 xestiascan_users_edit</span>\r
19 <br><br>\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
21 <br><br>\r
22 <b>Parameters:</b>\r
23 <br><br>\r
24 <div class="code">\r
25 xestiascan_users_edit(username, userinfo, scannerinfo, outputmoduleinfo, exportmoduleinfo, confirm);\r
26 </div>\r
27 <br><br>\r
28 <b>Usage:</b>\r
29 <br><br>\r
30 <div class="code">\r
31 $pagedata = xestiascan_users_add();\r
32 $pagedata = xestiascan_users_add(“New User”, \%userinfo, \%scannerinfo, \%outputmoduleinfo, \%exportmoduleinfo, 1);\r
33 </div>\r
34 <br><br>\r
35 <i>username</i><br>\r
36 Specifies the username to edit from the user list. This is required in all cases.\r
37 <br><br>\r
38 <i>userinfo</i><br>\r
39 Specifies the user information as a hashref.\r
40 <br><br>\r
41 <table class="infotable">\r
42  <tr>\r
43   <td class="tableheading">Setting</td>\r
44   <td class="tableheading">Value</td>\r
45  </tr>\r
46  <tr>\r
47   <td class="tabledata">OriginalUsername</td>\r
48   <td class="tabledata">Specifies the original username.</td>\r
49  </tr>\r
50  <tr>\r
51   <td class="tabledata">NewUsername</td>\r
52   <td class="tabledata">Specifies the new username.</td>\r
53  </tr>\r
54  <tr>\r
55   <td class="tabledata">Name</td>\r
56   <td class="tabledata">Specifies the name of the user.</td>\r
57  </tr>\r
58  <tr>\r
59   <td class="tabledata">Password</td>\r
60   <td class="tabledata">Specifies the password of the user.</td>\r
61  </tr>\r
62  <tr>\r
63   <td class="tabledata">ConfirmPassword</td>\r
64   <td class="tabledata">Specifies the confirmed password (should be same as Password).</td>\r
65  </tr>\r
66  <tr>\r
67   <td class="tabledata">Admin</td>\r
68   <td class="tabledata">Specifies if the user has administrative privledges.</td>\r
69  </tr>\r
70  <tr>\r
71   <td class="tabledata">Enabled</td>\r
72   <td class="tabledata">Specifies if the account is enabled.</td>\r
73  </tr>\r
74 </table>\r
75 <br><br>\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
78 <br><br>\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
81 <br><br>\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
84 <br><br>\r
85 <i>confirm</i><br>\r
86 Confirms the action to add the user.\f\r
87                 </div>\r
88         </body>\r
89 </html>\r
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy