I want to enrol students using the web services function enrol_manual_enrol_users. I can do this successfully but the comment next to a student says
"Manual enrolments enrolled Sat 26 August 2017 06:00 AM".
This is not entirely true as it was enrolled by web services. Is there a way of changing the message so that is says something like "Web Services enrolments enrolled Sat 26 August 2017 06:00 AM"? Other enrolment plugins will have a different message e.g "External database enrolments enrolled Sat 26 August 2017 06:00 AM" for the External database enrolment plugin.
There is no way of knowing whether an enrolment was created manually by a human or by web services as far as I am aware. Is there a way to distinguish between web services enrolment and actual manual, human-initiated enrolment?