Quantcast
Channel: Web services
Viewing all articles
Browse latest Browse all 2361

Web services enrolment - changing enrolment description

$
0
0

by samuel h.  

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?


Viewing all articles
Browse latest Browse all 2361

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>