The Enrol by user profile fields plugin is compatible with Moodle 3.7 and appears to be in active development as of 2020
Yesterday we have reviewed the Autoenrol parents plugin through which you can assign roles to users based on the value in the custom profile fields and here is similar plugin updated for Moodle 2.9 named “Enrol by user profile fields” which allows you to enroll users based on the user profile fields.
The “Enrol by user profile fields” plugin allows users to be enrolled according to any value stored in their user profile.
According to the plugin description:
This plugin allows users to be enrolled according to any value stored in their user profile. If you use an external authentication scheme (LDAP, Shibboleth), you can store values in hidden user fields of the users’ Moodle profile, and then use these values to automatically enrol users if some courses.
You can download the latest version of the Enrol by user profile fields plugin from the Moodle plugins database through this link – https://moodle.org/plugins/view/enrol_attributes
Thanks Nicolas Dunand for sharing the plugin with the Moodle community and keeping it maintained. The plugin is available for all Moodle versions starting Moodle 2.1.
Have you ever used this plugin on your Moodle site? If yes, what is your experience with the plugin? Please share in the comments below.