I have a number of users who are not enrolled in a course, but I can't determine how many or who unless I click on each user (and I have about 2000). These users must have created an account without having a course OR they were automatically unenrolled after "365" days. Can I search for those users in some way so I can delete them? I don't want to delete the employees, just students who are using Moodle. I can filter by email to determine staff from student since our email domain is different for staff and sudents. (Note: many of our staff ARE enrolled as students in other teacher's courses who created courses for resources so I can't search by role in this case).
How are other users getting rid of these unenrolled users? I would love to hear how other admins handle this problem