How to Import & Export Role Definitions in Moodle Updated on October 8, 2020 by InMotion Hosting Contributor 1 Minutes, 15 Seconds to Read In this tutorial: Exporting Role Definitions Importing Role Definitions Beginning with Moodle 2.6 is the ability to Import and Export Role definitions. This allows you to share your role definitions, or use them on other Moodle sites. In this tutorial we will show you how to Import and Export Role Definitions in Moodle. Exporting Role Definitions Login to your Moodle Administrator Dashboard. In the Administration section, click Site administration–>Users–>Permissions–>Define roles. The image below shows you what order to click them in. On the next page, click the Role you want to export. In my tests, I am exporting the Manager role. You will now see a summary of the role you selected, click the Export button. You will then download the .xml file containing the role definitions. Importing Role Definitions Login to your Moodle Administrator Dashboard. In the Administration section, click Site administration–>Users–>Permissions–>Define roles. The image below shows you what order to click them in. Click the Add a new role button on the bottom. You will then be on the Adding a new role page. In the Use role or archetype menu, choose the type of role you want to import. Drag & drop the .xml file into the available field, then click the Continue button. The role definitions will then be imported, and you will be able to use them in your Moodle site. Congratulations, now you know how to import and export Role definitions in Moodle website! Share this Article IC InMotion Hosting Contributor Content Writer InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals! More Articles by InMotion Hosting Related Articles How to install Moodle using Fantastico Installing Moodle with Softaculous How to Add Content Security Policy in Moodle With the Local CSP Plugin Inserting an image slider in Moodle Changing the Moodle admin password through PhpMyAdmin Fix “uploaded file may exceed the post_max_size directive in php.ini” How to Add the Quiz Module in Moodle Adding the File Resource Module to Moodle Courses Integrate Jitsi with Moodle Courses How to Install a Plugin in Moodle