course/enrolluser
Parameters:
p1: partition username
p2: course name
p3: username to enroll
p4: OPTIONAL start date YYYYMMDD
p5: OPTIONAL end date YYYYMMDD
Return Type:
Boolean (true or false)
Description:
Enrolls an existing user from specified account into specified course. Returns true if user was enrolled, or false if it failed (or if user does not exist).
The p4 and p5 parameters are optional. They are used for setting an enrollment window of dates -- the date format should be YYYYMMDD, so for example a date of May 1, 2025 would be represented like this: 20250501.