I would like to know how to change all of the usernames just for the students (not staff) to their email address please? The usernames for students are currently set as the first letter of their forename, followed by their surname e.g. jsmith. I would like to set all students usernames in bulk to their email address, before the @ sign. The students full email address has been added to Moodle previously.
Could anyone please let me know how to achieve this please?
I am using Moodle 3.9.2 (Build: 20200914)