Monday, May 20, 2024
HomeForAdministratorsHow to Suspend Users in Bulk via CSV from your Moodle Courses?

How to Suspend Users in Bulk via CSV from your Moodle Courses?

-

Moodle LMS offers one of the best platforms to offer online learning portals. It can be scaled to offer learning for thousands of users. With more enrolled users in your Moodle courses, the responsibility of managing the users accounts increases. In this post we will see what is a Suspended user in Moodle and how you can suspend users in bulk via CSV files from your Moodle courses.

When a student is not expected to participate in your Moodle course, you can remove their access from the courses. By removing their access, they will not be able to access your Moodle course and participate any further. There are two ways to remove a user from your Moodle site:

  • Suspend a User – Suspending a user will allow future restore of account, if required.
  • Delete a User – Deleting an account results in user data being permanently deleted. If you wish to retain any data, you should instead suspend the user’s account.

So, now lets see how you can suspend a user in your Moodle course.

How to Suspend a single user

In order to suspend a single user or a few users as a teacher, you can simply follow these steps:

  • Go to the Course > Participants > Enrolled Users page.
  • Click the edit icon opposite the user’s name
  • On the user profile edit page Under Status – tick the ‘Suspended account’ checkbox and Save changes.

But what if you need to suspend multiple users in one go. Now, let’s see how you can suspend multiple users in Moodle course as Moodle administrator.

Here is a screencast explaining the process of Suspending the users:

Suspend users in Bulk via CSV in Moodle course

There are two steps to be followed to suspend multiple users. In the first step you need to create the list of users which needs to be suspended. In the second step you need to modify & upload the csv file and update the status in Moodle.

Step 1: Create the list of users to be suspended

Navigate to Site Administration > Users > Bulk User Actions. Here we can get the list of users by two ways, so lets discuss them one by one:

Adding users manually

You can use the ‘Users in list’ section to manually add the users which needs to be suspended.

Users in List Moodle
Users in List
  • Select the users which needs to be suspended in left page (You can select multiple users by clicking CTRL or CMD key on your keyboard.
  • Then click “Add to Selection button”. The users will be then added to the right pane.
  • Then choose “Download” under with Selected users and click Go.
  • Save this file as a CSV UTF-8 (Comma delimited) format.

Using Filters

The other way to select users is to use filters. You can choose from a vide variety of fields to filter out your users.

Moodle filter users
Moodle filter users

On the same Bulk User Actions page:

  • Under the New Filter Section, click Show more button.
  • Select the filters you wish to apply and click on “Add Filter”.
  • Click on the “Add all” button.
  • Then “With Selected Users” dropdown, select “Download” and click “Go”.
  • Save this file as a CSV UTF-8 (Comma delimited) format.

Step 2 – Modify & upload the CSV file

After getting the list of users which needs to be suspended, you need to modify this csv file. All you need to do is to add a new column in the file and save it.

Suspend Users CSV
Suspend Users CSV
  • Open the file in Excel or LibreOffice Calc or any suitable program.
  • Add a new column on the extreme right with name “suspended”. Kindly make sure that it is spelt in lowercase without any space.
  • Add “1” under that column for all users.
  • Save this file again as a CSV UTF-8 (Comma delimited).

Uploading the file in Moodle

Moodle Suspend Users
Suspend Users

To upload this final file in Moodle, you need to follow these steps:

  • Navigate to Site Administration > Users > Upload Users page.
  • Click on “Choose File” and upload the CSV file you just created and click “Upload Users” button.
  • On the next page, you need to change the following fields:
    • Upload Type – change it to “update existing users only”.
    • Allow suspending and activating of accounts – Set this field to Yes
  • Click Upload Users.
  • On the next page, you will see the status of the Suspend Users action. Moodle will display the number of users Suspended as well as the number of users skipped.
  • Click Continue.

This is all about suspending users in bulk via CSV in your Moodle course. In case you are facing problems while suspending users in your Moodle site, please feel free to us know in the comments section below.

For regular updates about Moodle, eLearning and edtech industry, please visit us regularly at https://lmsdaily.com. You can also like us on Facebook or follow us on Twitter, or Subscribe our YouTube Channel.

How to use Moodle Book

 
Jaswinder Singh
Jaswinder Singhhttps://lmsdaily.com
I am an experienced Moodle Professional with experience in Moodle Course Creation, Moodle Setup, Moodle Integration, Moodle Training, Moodle Support & troubleshooting. YI am the author of popular books - "How to use Moodle 4.1" and "how to use Moodle 2.7". I work with one goal in mind “CUSTOMER SATISFACTION” – whether this means working to achieve results within a specific deadline (or beating the deadline), or with a focus on solid quality, if my client requires the job to be done I will go out of my way to achieving whatever it is that is necessary to do so. Basically, I can take care of your all Moodle requirements so that you can focus on your core job and I will manage your Moodle LMS.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -spot_img

Popular Posts

Propelld’s NBFC Edgro Raises $25M Debt funding to Expand Its Offerings

Propelld, a financial technology startup that empowers student education loans, has successfully secured a substantial $25 million in debt funding for its wholly-owned NBFC...

ITE-L Learning Solution added as Moodle Certified Partner in Mexico

ITE-L Learning Solution - the digital learning solutions provider, has been added as Moodle Certified Partner in Mexico. After this addition to the Moodle...

Join Moodlemoot El Salvador 2024 on June 04, 2024

MoodleMoot El Salvador is the official Moodle event in Central America organized by Corporate Learning, Moodle Partner and the leading company in eLearning integration...