Loading courses for a user

Discussion created by acbjl.denbraber on Apr 5, 2017
Latest reply on May 3, 2017 by as0045500

In an old B2 we used the loadByUserId method from the CourseDbLoader class to load all courses for a given user. The course list also included all unavailable courses and courses for which the enrolment is switched to unavailable. We noticed that in later Bb releases the courses for which the enrollment is disabled are no longer included in the list,

Is there another method to get those as well?


Take care Arald