I have a Moodle installation integrated with LDAP and based on that it makes the authentication. However, when creating a new user, i wanted Moodle to check a webservice, and based on it's response, assign the user to a group.
Any ideas on how i can do this?