Hello moodle's community !
I got 4 moodle shared by a mnet network. The users can authenticate and use SSO, all is working well. I also configure MNET to allow administrators to enrol users of the mnet network for a course and it works too.
With this method, I can only enrol mnet users one by one and that is just impossible because we have more than 10000 users !
I didn't find a issue to autoenrol mnet user from an identified peer or by 'group' in moodle.
I am thinking to use an autoenrol plugin then modify it to expect particular value in 'auth' and 'mnethostid' from the mdl_user table.
Have you got a better idea ? Any advice will be very appreciate =)
Have a good day.