- Moodle Administration Essentials
- Gavin Henrick Karen Holland
- 682字
- 2021-07-16 13:41:46
Uploading users
An administrator can bulk upload users in Moodle using a spreadsheet. This can be created in Excel, Open Office, or a similar application like Google Docs. In this section, we will refer to using Microsoft Excel.
Tip
The minimum information that is required as data in the spreadsheet includes the first name, last name, e-mail, username, and password. The password is not mandatory, and if you leave it blank, it will autogenerate the password and send an e-mail to the user immediately with their username and password.
Preparing the spreadsheet
To prepare your file for uploading perform the following:
- Open Microsoft Excel.
- Create five column names in the first row as the following—these should be lowercase and no spaces:
username
password
firstname
lastname
email
- Fill in the user details:
- For the username, we suggest you use the first name and last name with no spaces, no special characters, and all lowercase or e-mail address in lowercase.
- If you are creating manual accounts, you can set a password if you prefer, otherwise if you leave it blank, Moodle will send the user their username and password via e-mail after the upload.
- Enter their first name and their last name—be sure to avoid special characters in the fields like quotes or commas.
- Enter their e-mail address.
- Repeat this process for all the users that you want to create.
- Under the File menu, select Save As. Then, select
CSV (Comma delimited)
(*.csv
) for Save as type: - Click on Save. Excel will give you a warning about the format.
- Click on Yes to continue to save the
CSV
file.
Uploading the spreadsheet
The following are the steps for uploading the spreadsheet:
- Log in as an administrator user account.
- Access the user management options in the Administration block by navigating to Site administration | Users | Accounts.
- Click on Upload users:
- Click on Choose a file to bring up the file picker.
- Click on Upload a file and then click on Browse.
- Find the file on your computer, and then click on Open to select it.
- Click on Upload this file.
- Change the Preview rows setting to a larger suitable number if you are uploading a lot of users. This will enable you to preview that their details have been interpreted correctly.
- Click on Upload users. This will bring up the preview page before actually creating the accounts.
- Check the Upload users preview details of the users are correct:
- Under Settings | Upload Type.
- If you are creating new users, select Add new only, skip existing users.
- Select Update existing users only if you are updating existing users. Note that if you have set passwords in the spreadsheet, you will overwrite their password if they changed it. This does not matter for users with external authentication, as it is not used.
- Select Add new and update existing users if you are creating new users and updating existing ones.
- Under default values, click on Show more... to see all the options:
- For the New user password field, one option is to leave it as Create password if needed. Then Moodle will generate a password if none is supplied in the
CSV
file. The other option is to set it to Field required in file. Hence, Moodle will require the password column to be present and not empty for each user. - Select the preference for the Email digest type setting:
- No digest (single email per forum post)
- Complete (daily email with full posts) (that is all content)
- Subjects (daily email with subjects only) (recommended)
- Select the preference for the Forum auto-subscribe setting:
- Yes: when I post, subscribe me to that forum discussion (recommended)
- No: don't automatically subscribe me to forums discussions
- Enter the text for the users' location in the City/town field. Users can change this later.
- Select the correct country under Select a country. They can change this later.
- Select the timezone for the Timezone setting if you know the users' timezone.
- Select the language in the Preferred language menu if needed.
- Click on the Upload users button to save all changes.
推薦閱讀
- Python自動(dòng)化運(yùn)維快速入門(第2版)
- jQuery EasyUI網(wǎng)站開發(fā)實(shí)戰(zhàn)
- Unity Virtual Reality Projects
- Python金融數(shù)據(jù)分析
- Rust Essentials(Second Edition)
- Hands-On Reinforcement Learning with Python
- Android開發(fā):從0到1 (清華開發(fā)者書庫(kù))
- Instant Ext.NET Application Development
- PHP+MySQL+Dreamweaver動(dòng)態(tài)網(wǎng)站開發(fā)從入門到精通(第3版)
- 軟件項(xiàng)目管理實(shí)用教程
- Android應(yīng)用開發(fā)實(shí)戰(zhàn)
- PHP+MySQL動(dòng)態(tài)網(wǎng)站開發(fā)從入門到精通(視頻教學(xué)版)
- Mastering VMware Horizon 7(Second Edition)
- 現(xiàn)代CPU性能分析與優(yōu)化
- Java EE輕量級(jí)解決方案:S2SH