Skip to main content

Interface: EnrolmentMethod

Defined in: areas/participants/methods.ts:12

One of a course's enrolment methods, as its methods page and its form show it.

Properties​

PropertyTypeDescriptionDefined in
enabledboolean-areas/participants/methods.ts:18
end?string-areas/participants/methods.ts:27
hasKey?booleanSelf enrolment and guest access: whether it asks for a key (the key itself isn't returned).areas/participants/methods.ts:24
idnumber-areas/participants/methods.ts:13
maxUsers?numberSelf enrolment: the most users it enrols.areas/participants/methods.ts:29
namestringIts name on the methods page, in the site's language ("Self enrolment (Student)").areas/participants/methods.ts:17
roleId?numberThe role it gives (manual: the default role; self: the role students get).areas/participants/methods.ts:22
start?stringSelf enrolment: when students may enrol from and until (ISO dates).areas/participants/methods.ts:26
typestringThe enrolment plugin: "manual", "self", "guest", "cohort"…areas/participants/methods.ts:15
usersnumberUsers enrolled by it.areas/participants/methods.ts:20