by Mark Thornton.
On a test Moodle system, which is a close copy of our live system, I want to restrict access to only the users who have Site Administrator role in the live system. I am trying to do this by writing a SQL script to set Suspended = 1 to all the accounts in the mdl_user table, with the exception of those that have the Site Administrator role.
Which table holds the list of Site Adminstrators? I have been looking for some time, but cannot find it.