- 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.
推薦閱讀
- 現代C++編程:從入門到實踐
- Android開發精要
- HTML5游戲開發案例教程
- 從學徒到高手:汽車電路識圖、故障檢測與維修技能全圖解
- Oracle從入門到精通(第5版)
- BeagleBone Black Cookbook
- Swift Playgrounds少兒趣編程
- 零代碼實戰:企業級應用搭建與案例詳解
- Troubleshooting Citrix XenApp?
- 奔跑吧 Linux內核
- Mastering OAuth 2.0
- HTML5程序設計基礎教程
- Swift從入門到精通 (移動開發叢書)
- Learning Node.js for Mobile Application Development
- Neo4j權威指南 (圖數據庫技術叢書)