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 requires a session key (which is a godo thing!) so you need to do this once in the user edit area.

admin/user.php

If you don’t see a delete action for a user it usually means they are a site admin so you need to take them out of site admin first.

Assigning site administrators

admin/roles/admins.php
http://yourmoodle.com/admin/roles/admins.php