Access Student Enrollments in a Subaccount

bbennett2
Community Champion

Does anyone know of a way to access all student enrollments for a subaccount without looping each course? I'd like to do it from the subaccount so we can apply changes to a couple of buildings rather than to the entire district.

The only way I can see to programmatically access StudentEnrollments is through courses or sections and that's a ton of I/O. I could also pull a big CSV and get IDs from there into an array to loop, but again, we'd have to run that report periodically to have an up-to-date roster. Any tips are appreciated.

Labels (1)
0 Likes