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.12 adduser</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.12 adduser</span>
\r
20 Adds a user to the user list.
\r
25 $xestiascan_authmodule->adduser(username, userinfo);
\r
31 $xestiascan_authmodule->adduser(“User”, %userinfo);
\r
35 Specifies the name of the new user.
\r
38 Specifies the following options as a hash.
\r
40 <table class="infotable">
\r
42 <td class="tableheading">Setting</td>
\r
43 <td class="tableheading">Description</td>
\r
46 <td class="tabledata">Username</td>
\r
47 <td class="tabledata">Specifies the username to use for the new user.</td>
\r
50 <td class="tabledata">Name</td>
\r
51 <td class="tabledata">Specifies the name of the new user.</td>
\r
54 <td class="tabledata">Password</td>
\r
55 <td class="tabledata">Specifies the password to use.</td>
\r
58 <td class="tabledata">ConfirmPassword</td>
\r
59 <td class="tabledata">Specifies the confirmed password to use (should be same as Password).</td>
\r
62 <td class="tabledata">Admin</td>
\r
63 <td class="tabledata">Specifies if the account has administrative privileges.</td>
\r
66 <td class="tabledata">Enabled</td>
\r
67 <td class="tabledata">Specifies if the account is enabled or not.</td>
\r