You are here: Foswiki>System Web>Category>AdminToolsCategory>BulkRegistration (2024-12-23, UnknownUser)Edit Attach
Administrators can use this topic to register (i.e. create logins and user topics) for a group of people in one batch.
Unlike normal registration the administrator is assumed to have correct e-mail addresses for the users, so no verification is required. 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. To announce them use the BulkResetPassword feature: this will assign a new random password and notify users.
Note: this is an administrator job - only admistrators can run this.
If you are administrator, you will take these actions:
Below are the details.
This table is a template for user data that will be written to the new user topics. If you stick to these basic fields you can just use the first example below. If you want to write more data (like phone number or country) read the section Customizing user data as well.
If the Password
field is not included, then use the BulkResetPassword topic to assign new passwords. If a password is included, it must be a valid password (> minimum length, etc.)
The following should be inserted into your UnprocessedRegistrations as a table. This is the most simple format:
<noautolink> %EDITTABLE{}% | FirstName | LastName | Email | WikiName | | Test | User | you@your.domain | TestUser | </noautolink>
Usage:
You can write additional data to the new user topics. Do this by enhancing the user table with additional field names as table headers.
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!
WikiName
FirstName
LastName
LoginName
- Required if the system is configured to AllowLoginName
(Commonly referred to as the UserName). Email
- If not provided, you must set a password, or password reset will not be possible. Password
- If not provided, set passwords later using BulkResetPassword. Confirm
- If provided, it must match the Password
field. If missing, it will not be checked. templatetopic
- Template used when creating the User topic. If not provided, defaults to Main.NewUserTemplate, or System.NewUserTemplate. AddToGroups
- A comma-separated list of groups. When user is registered, they will be added to the listed groups. The groups must exist. Make sure that the extra fields also appear on the UserForm.
<noautolink> %EDITTABLE{}% | FirstName | LastName | Email | WikiName | AddToGroups | CustomFieldThis | SomeOtherRandomField | WhateverYouLike | | Test | User | you@example.com | TestUser | MyGroup, DocGroup | A | B | C | </noautolink>
Topic does not exist
Topic will be created during registration run.
Related topics: AdminToolsCategory
Edit | Attach | Print version | History: r1 | Backlinks | View wiki text | Edit wiki text | More topic actions
Topic revision: r1 - 2024-12-23, UnknownUser
Copyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback