9 date 2008.01.22.03.21.36; author TWikiContributor; state Exp;
14 date 2006.04.01.05.55.04; author TWikiContributor; state Exp;
19 date 2006.02.01.12.01.16; author TWikiContributor; state Exp;
34 @%META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.0" version="3"}%
35 %META:TOPICPARENT{name="ManagingUsers"}%
36 ---+ Bulk Registration
38 Administrators can use this topic to register (i.e. create logins and UserTopics) for a group of people quickly.
39 Create a table in the REGISTERTOPIC named below, setting each row to represent each user and each column to correspond to the metadata.
40 Then press the button on this page to perform registration for those users.
41 Unlike normal registration the administrator is assumed to have correct e-mail addresses for the users, so no verification is required.
42 Note that the new users are not notified that they have an account. This is so you can prepare and verify the accounts before announcing them.
43 To announce them use the BulkResetPassword feature: this will assign a new random password and notify users.
45 ---++ Bulk Registration usage
47 Any fields you define in this table will end up in the User's topic. If a form (such as %TWIKIWEB%.UserForm) is attached to NewUserTemplate then the data will go in as META:FIELDS, meaning that you can use SEARCH formfield constructs to search.
49 If you use the %TWIKIWEB%.UserForm then ensure that it contains all the fields you define here. Otherwise they will disappear when the user edits their home topic!
51 ---+++ Mandatory fields
56 ---+++ Optional fields
57 * LoginName - if not set will register with WikiName
61 * Define where to pick up the table of users to register
62 * Set REGISTERTOPIC = %MAINWEB%.UnprocessedRegistrations
63 * Use this to define where to log the bulk registration process. It needs
64 to be a topic name in this web.
65 * Set LOGTOPIC = %REGISTERTOPIC%Log
66 * Set this to 1 to make the bulk registration overwrite any existing user
67 topics. By default, existing user topics are left alone.
68 * Set OVERWRITEHOMETOPICS = 0
71 The following should be inserted into your REGISTERTOPIC as a table.
73 | FirstName | LastName | Email | WikiName | CustomFieldThis | SomeOtherRandomField | WhateverYouLike |
74 | Test | User | you@@example.com | TestUser | A | B | C |
78 1 Make sure that the Custom fields appear on the %TWIKIWEB%.UserForm
79 2 Copy the above table to your clipboard
80 3 Click through and paste this on %REGISTERTOPIC%, save the topic and return here.
81 4 Click the Bulk register button below
83 6 When you are ready, use the BulkResetPassword page to assign passwords and notify the users of their new accounts.
86 1 The first row of the table dictates the heading format and that the fieldnames must be plain, i.e. *must not contain bolded* entries.
87 2 You are responsible for ensuring that the fieldnames appear in the [[%TWIKIWEB%.UserForm]]
88 3 Only administrators can run this.
91 "context passwords_modifyable"
93 else="<strong>%MAKETEXT{"Sorry, the password system is currently read only, please contact [_1]" args="%WIKIWEBMASTER%"}%</strong><br />"
96 * Set NOTMODIFYABLE = %IF{"context passwords_modifyable" then="" else="DISABLED"}%
98 <form name="bulkRegister" action="%SCRIPTURLPATH{"manage"}%/%REGISTERTOPIC%" method="post">
99 <input type="hidden" name="action" value="bulkRegister" />
100 <input %NOTMODIFYABLE% type="submit" class="twikiSubmit" value="Bulk Register these people" />
101 <input type="hidden" name="LogTopic" value="%LOGTOPIC%" />
102 <input type="hidden" name="OverwriteHomeTopics" value="%OVERWRITEHOMETOPICS%" />
105 ---++ %REGISTERTOPIC%
107 %INCLUDE{%REGISTERTOPIC%}%
112 %INCLUDE{%LOGTOPIC%}%
115 __Related Topics:__ AdminToolsCategory
126 %META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.0" version="2"}%
129 The %MAINWEB%.TWikiAdminGroup can use %TOPIC% to register (i.e. create logins and UserTopics) for a group of people quickly.
132 Any fields you define in this table will end up in the User's topic. If a form (such as %MAINWEB%.UserForm) is attached to NewUserTemplate then the data will go in as META:FIELDS, meaning that you can use SEARCH formfield constructs to search.
135 If you use the %MAINWEB%.UserForm then ensure that it contains all the fields you define here. Otherwise they will disappear when the user edits their home topic!
147 1 Make sure that the Custom fields appear on the %MAINWEB%.UserForm
150 2 You are responsible for ensuring that the fieldnames appear in the [[%MAINWEB%.UserForm]]
151 3 Only members of the %MAINWEB%.TWikiAdminGroup can run this.
155 <input type="hidden" name="action" value="bulkRegister" /> <input type="submit" class="twikiSubmit" value="Bulk Register these people" />
166 %META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.0" version="1"}%
175 * LoginName - if not set will register with WikiName
178 * Set REGISTERTOPIC = %MAINWEB%.UnprocessedRegistrations
179 * Set LOGTOPIC = %REGISTERTOPIC%Log
182 * Set OVERWRITEHOMETOPICS = 0
185 1 Make sure that the Custom fields appear on the %MAINWEB%.UserForm
186 2 Copy the above table to your clipboard
187 3 Click through and paste this on %REGISTERTOPIC%, save the topic and return here.
188 4 Click the Bulk register button below
190 6 When you are ready, use the BulkResetPassword page to assign passwords and notify the users of their new accounts.
193 1 The first row of the table dictates the heading format and that the fieldnames must be plain, i.e. *must not contain bolded* entries.
194 2 You are responsible for ensuring that the fieldnames appear in the [[%MAINWEB%.UserForm]]
195 3 Only members of the %MAINWEB%.TWikiAdminGroup can run this.