%META:TOPICINFO{author="MartinCleaver" date="1098123580" format="1.0" version="1.4"}%
%META:TOPICPARENT{name="ManagingUsers"}%
---++ Bulk Registration

Any fields you define in this table will end up in the User's topic. If a form (such as UserForm) is attached to NewUserTemplate then the data will go in as META:FIELDS, meaning that you can use SEARCH formfield constructs to search. 

If you use the UserForm then ensure that it contains all the fields you define here. Otherwise they will disappear when the user edits their home topic!

---+++ Mandatory fiels
	* WikiName 
	* Email
	* !FirstName
	* !LastName 

---+++ Optional fields
	* LoginName - if not set will register with WikiName

---++ Settings
		* Set REGISTERTOPIC = %MAINWEB%.UnprocessedRegistrations
		* Set LOGTOPIC = %REGISTERTOPIC%Log

		* Set OVERWRITEHOMETOPICS = 1


<FORM name="bulkRegister" action="%SCRIPTURL%/manage%SCRIPTSUFFIX%/%REGISTERTOPIC%" method="post">
<input type="hidden" name="action" value="bulkRegister"/>
<input type="submit" value="Bulk Register these people" />
<input type="hidden" name="LogTopic" value="%LOGTOPIC%" />
<input type="hidden" name="OverwriteHomeTopics" value="%OVERWRITEHOMETOPICS%" />
<input type="hidden" name="EmailUsersWithDetails" value="0" /> <!-- warning - not actually implemented -->
</FORM>

---++ %REGISTERTOPIC%

%INCLUDE{%REGISTERTOPIC%}%



-- People.MartinCleaver - 18 Oct 2004

