by Jerome Mouneyrac.
Thanks John, we appreciate all web service contribution (follow the doc: http://docs.moodle.org/dev/How_to_contribute_a_web_service_function_to_core).
MDL-29938 is the issue you want to be resolved. Once is done get_users_by_id() is more likely going to be deprecated and get_users_by_username() rejected (MDL-28606). We try to avoid to duplicate code (so avoid maintenance nightmare). Vote for MDL-29938, ping it, it generally makes an issue move faster (not all the time but often).
Cheers,
Jerome
MDL-29938 is the issue you want to be resolved. Once is done get_users_by_id() is more likely going to be deprecated and get_users_by_username() rejected (MDL-28606). We try to avoid to duplicate code (so avoid maintenance nightmare). Vote for MDL-29938, ping it, it generally makes an issue move faster (not all the time but often).
Cheers,
Jerome