- 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.
推薦閱讀
- TypeScript入門與實戰
- 數據庫原理及應用(Access版)第3版
- Hands-On Image Processing with Python
- Learning Linux Binary Analysis
- Instant QlikView 11 Application Development
- 鋒利的SQL(第2版)
- 用戶體驗增長:數字化·智能化·綠色化
- Go語言精進之路:從新手到高手的編程思想、方法和技巧(1)
- Active Directory with PowerShell
- Python算法指南:程序員經典算法分析與實現
- Python 3.7從入門到精通(視頻教學版)
- 數據結構:Python語言描述
- Python滲透測試編程技術:方法與實踐(第2版)
- Python程序設計:基礎與實踐
- 第五空間戰略:大國間的網絡博弈