gets users instructed courses from ldap