{% extends "controlpanel/layout.html" %} {% block title %}Bulk user creation{% endblock %} {% block body_class %}plain-page frontpage admin {{ body_class }}{% endblock %} {% block subbreadcrumbs %}{% set navigation.sub = "user-bulk" %}{% endblock %} {% block body %}

Bulk user creation

You can create multiple users at the same time by preparing a CSV file with their data and uploading it below. The spreadsheet must have a name column that contains the username of the user to be created. If no other data is provided, the user is created with no password.

{% if __user_config("mail.server") %} Optionally, if the username is an e-mail address, an e-mail will be sent to them with a password reset link. Note that e-mail providers may frown upon the mass of e-mails sent at once when creating multiple users at the same time. {% else %} No mail server is currently configured, but if you configure one you will also have the option of sending the users a link to set their password through. {% endif %} You can always find the 'reset password' link for a user via the user management page in the control panel.

You can additionally provide the columns password, expires (a timestamp indicating when the user will be automatically deleted; YYYY-MM-DD HH:MM:SS is preferred), tags (a comma-separated list of user tags), and notes (put whatever you want in here). Other columns will be ignored. Rows with invalid data (existing usernames, bad expiration dates) will be skipped.

{% for notice in flashes %}

{{ notice|safe }}

{% endfor %}
{% if __user_config("mail.server") %}
{% endif %}
{% endblock %}