Is it possible to modify or (add a new function) to add the parameter to suspend a student's enrollment? I would like to see an optional parameter added to the New-MoodleEnrolment.ps1 (utilizing the enrol_manual_enrol_users API) which can determine if the enrolment will be active or suspended.
This is so that if a student may be temporarily suspended from a course for whatever reason, then re-activated once an issue has been resolved.
Is it possible to modify or (add a new function) to add the parameter to suspend a student's enrollment? I would like to see an optional parameter added to the New-MoodleEnrolment.ps1 (utilizing the enrol_manual_enrol_users API) which can determine if the enrolment will be active or suspended.
This is so that if a student may be temporarily suspended from a course for whatever reason, then re-activated once an issue has been resolved.