This Moodle admin report lists all the role assignments that a user has throughout a site. It also lets you easily remove any of those role assignments.
To make this report work, you need to make one very small change to one core file. In lib/weblib.php, in the function print_header, just after the line:
$meta .= "\n".require_js();
add the lines
$fnname = 'require_css';
if (function_exists($fnname)) {
$meta .= "\n".$fnname();
}
Apart from that, just unzip the download, and copy the userroles folder into admin/report.
Copyright 2007-9 Tim Hunt, The Open University, and other contributors.
Licence: http://www.gnu.org/copyleft/gpl.html GNU Public License