Moodle User Management URLs

Some handy user management and search URLs, particularly if the site admin block is hidden. User search Note a %20=means a blank space, encoded to work in a URL. user/index.php?id=1&search= http://yourmoodle.com/user/index.php?id=1&search=fred http://yourmoodle.com/user/index.php?id=1&search=Fred%20Jones Create a new user user/editadvanced.php?id=-1 http://yourmoodle.com/user/editadvanced.php?id=-1 Edit a user if you know their moodle internal id user/editadvanced.php?id={moodle_user_id} http://yourmoodle.com/user/editadvanced.php?id=16 Delete an existing user This…

Assign site admins through the database

The following steps can be used to add your user as a siteadmin in the database if required. Step 1: Find your moodle user ID select id from mdl_user where username = ‘{username}’; Step 2: Get the list of current siteadmin IDs select value from mdl_config where name = ‘siteadmins’; This gives you a list…