How to add a course to an existing user in moodle remotely?

Viewed 1729

I'm using LDAP to create users in Moodle. However, after creating an user (adding to LDAP and running the sync script) i want to enroll that user to a course. How one does that? :)

2 Answers
Related