By selecting one or more row from the User View, the Batch Action context panel will be opened.

From this panel, you can select the  User Status  Batch Action (the Star)

Users grid view with five users selected. The Batch Action context panel is open. Within the panel, there is a message at the top that reads: "Change the status of the selected users". Below this is a status toggle that can be set to Active or Inactive. At the bottom of the context panel there is a Save button and a Cancel button.

By choosing a status and clicking on  Save , the status will be changed for all the selected items.

If you use the Action Panel's option to Select all Rows, then every row that is matched by your search filter will be acted upon, not just the visible rows.