unenroll students

unenroll students

by Mohammad Hussein -
Number of replies: 3

Hello

I am using CSV file to enroll or unenroll students in moodle but I have question

my CSV file format for enrollment student is

USERNAME,EMAIL,COURSE1,ROLE1,GROUP1,ENROLSTATUS1


for each student enrolled in the course I gave him 0 in enrollstatus1 and 1 for unenroll the student from the course

but I have 5000 student and many transactions happened at the beginning of the semester the file be so large containing these transactions

there is any solution to unroll student from the course without having all transaction


Average of ratings: -
In reply to Mohammad Hussein

Re: unenroll students

by ignacio artero -
Hello Mohammad Hussein, how do you do to unenroll students using a csv file?
In reply to ignacio artero

Re: unenroll students

by John Provasnik -
Picture of Particularly helpful Moodlers Picture of Testers
You cannot unenroll with a CSV using manual upload, you can only suspend from a course. To delete with CSV, I believe you can use FlatFile: https://docs.moodle.org/310/en/Flat_file
Average of ratings: Useful (1)
In reply to John Provasnik

Re: unenroll students

by Pedro Gtz -
HI. John do you have an example file to unenroll.. because as you say in the other way you only suspend. Thanks