1

This question already has an answer here:

I have added a new field to the user profile on my site (i.e. in /admin/config/people/accounts/fields), a boolean value that can be either 0 or 1. Existing users have no value. How can I easily set a value for all existing users?

marked as duplicate by Clive Dec 1 '14 at 12:16

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • The duplicate only mentions nodes but the answer is exactly the same (just replace 'node' with 'user' if you use a code solution) – Clive Dec 1 '14 at 12:17
3

Use Views Bulk Operations Module to update field values

This module augments Views by allowing bulk operations to be executed on the displayed rows. It does so by showing a checkbox in front of each node, and adding a select box containing operations that can be applied.

  • Create a view of type users
  • Add Bulk operations: User field and choose Modify entity values checkbox to select your boolean field

Not the answer you're looking for? Browse other questions tagged or ask your own question.