Is enrol_manual_unenrol_users() in Moodle 2.5? I worked out some code for it which I posted in my Wny are there enrolment plugins instead of a function for enrolment and a function for unenrolment? thread. Fábio Souto took this up in Moodle / MDL-29934 Web service API Roadmap / MDL-30063 enrol_manual_unenrol_users(). From the comments there, I see that Fabio and Jérôme have tested it, and Rajesh Taneja has recommended a few changes. I've found that I need unenrolment in the new project I'm doing, but didn't see a Web-service function in Moodle 2.5. I couldn't see from the MDL what the state of affairs now is.