UVACanvasAccess
|
Represents an enrollment of a user in a course. More...
Public Member Functions | |
Task< Enrollment > | Conclude () |
Concludes this enrollment without deleting it. This is the same action that occurs automatically when the user reaches the end of their time in the course, such as at the end of the school year. More... | |
Task< Enrollment > | Delete () |
Irrecoverably deletes this enrollment. More... | |
Task< Enrollment > | Deactivate () |
Sets an enrollment to Api.CourseEnrollmentState.Inactive. More... | |
string | ToPrettyString () |
Returns a pretty, formatted string representation of the object. | |
Properties | |
ulong | Id [get] |
The enrollment id. More... | |
ulong | CourseId [get] |
The id of the course which the user is enrolled in. More... | |
string | SisCourseId [get] |
The SIS id of the course which the user is enrolled in. More... | |
string | CourseIntegrationId [get] |
The course integration id. More... | |
ulong? | CourseSectionId [get] |
The id of the section within the course which the user is enrolled in. More... | |
string | SectionIntegrationId [get] |
The section integration id. More... | |
string | SisAccountId [get] |
The SIS id of the account the enrollment is under. More... | |
string | SisSectionId [get] |
The SIS id of the section within the course which the user is enrolled in. More... | |
string | SisUserId [get] |
The SIS id of the user involved in the enrollment. More... | |
Api.? CourseEnrollmentState | EnrollmentState [get] |
The state of the enrollment. More... | |
bool? | LimitPrivilegesToCourseSection [get] |
Whether the user is limited to their own section within the course. More... | |
ulong? | SisImportId [get] |
The SIS import id. More... | |
ulong? | RootAccountId [get] |
The root account id of the account the enrollment is under. More... | |
Api.? CourseEnrollmentRoleTypes | Type [get] |
The type of enrollment. More... | |
ulong | UserId [get] |
The id of the user involved in the enrollment. More... | |
ulong? | AssociatedUserId [get] |
If the Type is Api.CourseEnrollmentRoleTypes.ObserverEnrollment, the id of the observed user. More... | |
string | Role [get] |
The enrollment role in the course. May match Type, but individual courses may also customize these roles. More... | |
ulong | RoleId [get] |
The id of the enrollment role. More... | |
DateTime? | CreatedAt [get] |
When the enrollment was created. More... | |
DateTime? | UpdatedAt [get] |
When the enrollment was last updated. More... | |
DateTime? | StartAt [get] |
When the enrollment begins. More... | |
DateTime? | EndAt [get] |
When the enrollment concludes. More... | |
DateTime? | LastActivityAt [get] |
The last activity time for the user in the context of the enrollment. More... | |
DateTime? | LastAttendedAt [get] |
The last attendance time for the user in the context of the enrollment. More... | |
ulong? | TotalActivityTime [get] |
The activity total time, in seconds, for the user in the context of the enrollment. More... | |
string | HtmlUrl [get] |
The URL to the Canvas webpage displaying this enrollment. More... | |
Grade | Grades [get] |
The user's grade summary in this enrollment. More... | |
UserDisplay | User [get] |
A UserDisplay for the user involved in the enrollment. More... | |
string | OverrideGrade [get] |
The override grade. More... | |
decimal? | OverrideScore [get] |
The override score. More... | |
string | UnpostedCurrentGrade [get] |
The user's current grade in the course, including unposted assignments. More... | |
string | UnpostedFinalGrade [get] |
The user's final grade in the course, including unposted assignments. More... | |
string | UnpostedCurrentScore [get] |
The user's current score in the course, including unposted assignments. More... | |
string | UnpostedFinalScore [get] |
The user's final score in the course, including unposted assignments. More... | |
bool? | HasGradingPeriods [get] |
Whether the course has grading periods. More... | |
bool? | TotalsForAllGradingPeriodsOption [get] |
Whether the course has the 'Display Totals for All Grading Periods' option enabled. More... | |
string | CurrentGradingPeriodTitle [get] |
The title of the current grading period, if the course has grading periods. More... | |
ulong? | CurrentGradingPeriodId [get] |
The id of the current grading period, if the course has grading periods. More... | |
string | CurrentPeriodOverrideGrade [get] |
The override grade for the current grading period, if the course has grading periods. More... | |
decimal? | CurrentPeriodOverrideScore [get] |
The override score for the current grading period, if the course has grading periods. More... | |
decimal? | CurrentPeriodUnpostedFinalScore [get] |
The user's final score in the course for the current grading period, including unposted assignments, if the course has grading periods. More... | |
string | CurrentPeriodUnpostedCurrentGrade [get] |
The user's current grade in the course for the current grading period, including unposted assignments, if the course has grading periods. More... | |
string | CurrentPeriodUnpostedFinalGrade [get] |
The user's final grade in the course for the current grading period, including unposted assignments, if the course has grading periods. More... | |
Represents an enrollment of a user in a course.
|
inline |
Concludes this enrollment without deleting it.
This is the same action that occurs automatically when the user reaches the end of their time in the course, such as at the end of the school year.
This object will be outdated once the operation completes. Use the returned object instead.
|
inline |
Sets an enrollment to Api.CourseEnrollmentState.Inactive.
This object will be outdated once the operation completes. Use the returned object instead.
|
inline |
Irrecoverably deletes this enrollment.
This object will be outdated once the operation completes. Use the returned object instead.
|
get |
If the Type is Api.CourseEnrollmentRoleTypes.ObserverEnrollment, the id of the observed user.
|
get |
The id of the course which the user is enrolled in.
|
get |
The course integration id.
|
get |
The id of the section within the course which the user is enrolled in.
|
get |
When the enrollment was created.
|
get |
The id of the current grading period, if the course has grading periods.
|
get |
The title of the current grading period, if the course has grading periods.
|
get |
The override grade for the current grading period, if the course has grading periods.
|
get |
The override score for the current grading period, if the course has grading periods.
|
get |
The user's current grade in the course for the current grading period, including unposted assignments, if the course has grading periods.
|
get |
The user's final grade in the course for the current grading period, including unposted assignments, if the course has grading periods.
|
get |
The user's final score in the course for the current grading period, including unposted assignments, if the course has grading periods.
|
get |
When the enrollment concludes.
|
get |
The state of the enrollment.
|
get |
The user's grade summary in this enrollment.
|
get |
Whether the course has grading periods.
|
get |
The URL to the Canvas webpage displaying this enrollment.
|
get |
The enrollment id.
This is unrelated to the course id.
|
get |
The last activity time for the user in the context of the enrollment.
|
get |
The last attendance time for the user in the context of the enrollment.
|
get |
Whether the user is limited to their own section within the course.
|
get |
The override grade.
|
get |
The override score.
|
get |
The enrollment role in the course. May match Type, but individual courses may also customize these roles.
|
get |
The id of the enrollment role.
|
get |
The root account id of the account the enrollment is under.
|
get |
The section integration id.
|
get |
The SIS id of the account the enrollment is under.
|
get |
The SIS id of the course which the user is enrolled in.
|
get |
The SIS import id.
|
get |
The SIS id of the section within the course which the user is enrolled in.
|
get |
The SIS id of the user involved in the enrollment.
|
get |
When the enrollment begins.
|
get |
The activity total time, in seconds, for the user in the context of the enrollment.
|
get |
Whether the course has the 'Display Totals for All Grading Periods' option enabled.
|
get |
The type of enrollment.
|
get |
The user's current grade in the course, including unposted assignments.
|
get |
The user's current score in the course, including unposted assignments.
|
get |
The user's final grade in the course, including unposted assignments.
|
get |
The user's final score in the course, including unposted assignments.
|
get |
When the enrollment was last updated.
|
get |
A UserDisplay for the user involved in the enrollment.
|
get |
The id of the user involved in the enrollment.