add_enrollment: Enroll a user into the course

View source: R/enrollment.R

add_enrollmentR Documentation

Enroll a user into the course

Description

Enroll a user into the course

Usage

add_enrollment(course_id, user_id, type, state, section = F, ...)

Arguments

course_id

ID of the course (or section, see below)

user_id

ID of the user

type

enrollment type

state

enrollment state

section

if TRUE, course_id should be a section_id instead of a course_id and students will be enrolled into this section

...

any other arguments passed to the API


daranzolin/rcanvas documentation built on May 18, 2024, 2:33 p.m.