Capabilities/moodle/user:delete
From MoodleDocs
- This allows a user to delete other users.
- This capability is for administrators. It may only be applied in the system context i.e. as a global role.
Note: You are currently viewing documentation for Moodle 3.11. Up-to-date documentation for the latest stable version of Moodle may be available here: Capabilities/moodle/user:delete.