Can I freeze/unfreeze multiple users at once?
|Knowledge Article Number||000187696|
|Description||In Winter '14, Salesforce introduced a new feature to allow you to freeze a user account. This is intended to be used in situations where the user account requires more work before deactivating it.
You can read more about this feature here, which describes how to do this for one user via the UI:
Freeze or Unfreeze User Accounts
It is also possible to freeze multiple users at once, by using the API version 29.0 and later.
|Resolution||The User property "Frozen" is controlled in the object "UserLogin" by the field "IsFrozen".
IsFrozen is a boolean field so it is either "true" (frozen) or "false".
An administrator should use Apex Data Loader version 29 or later to update the UserLogin Object otherwise, if it's lower than version 29, user will not have access to the UserLogin Object.
Note: Use the Id of the UserLogin record, rather than the UserId to update the records.