The principle is the same as for bulk uploading of users.
- Under the site administration, click users, then upload users.

- click on the example csv file to download and view how the users must be loaded on the spreadsheet

- usernames are small characters with no spaces and special characters, and you will notice the headings of the fields are all small letters

- So you can populate the fiels for username, firstname, lastname, and email

- Go into the course you want to load users, and open the settings and take the shortname.

- Add the fields course1, type1 to your excel and add the course shortname in there and use 1 (1 = student. 2 - teacher. 3 = non editing teacher by default). You can add more courses like course2 type2 course3 type3.

- Then you save the file as CSV

- Then you go to upload users again and load the csv file

- Change the setting to Add or update existing users, and check that role1 is a student.
- Users then gets enrolled
