SectionsEnrollUserInSection Method A Sandcastle Documented Class Library
Enroll a user in a section. If the user is a teacher, it will mark that teacher as the teacher of record for this course.

Namespace: WCFAPI
Assembly: WCFAPI (in WCFAPI.dll) Version: 4.0.0.0 (4.0.0.0)
Syntax

public AssignCourseResults EnrollUserInSection(
	string apiUsername,
	string apiPassword,
	string UserExternalID,
	string BaseCourseCode,
	string SectionCode,
	string CourseName,
	Nullable<DateTime> StartDate,
	Nullable<DateTime> TargetDate
)

Parameters

apiUsername
Type: SystemString
API Username
apiPassword
Type: SystemString
API Password
UserExternalID
Type: SystemString
External User ID of the user to assign to the section
BaseCourseCode
Type: SystemString
The base course that the section inherits from. These need to be set up in Edgenuity
SectionCode
Type: SystemString
The code of the section being enrolled in. If this section doesn't yet exist in Edgenuity, a copy of the base course will be created for it.
CourseName
Type: SystemString
Name of the course. Leave null to use the name of the base course.
StartDate
Type: SystemNullableDateTime
Start Date for this student's section enrollment
TargetDate
Type: SystemNullableDateTime
Target Date for this student's section enrollment

Return Value

Type: AssignCourseResults

[Missing <returns> documentation for "M:WCFAPI.Sections.EnrollUserInSection(System.String,System.String,System.String,System.String,System.String,System.String,System.Nullable{System.DateTime},System.Nullable{System.DateTime})"]

See Also

Reference