1

How to temporarily Disable Access for Entire Org?

For all Internal

and/or

All External users.

2
  • 1
    Login IP restrictions
    – cropredy
    May 17, 2019 at 17:02
  • Wouldn't an option be to set login hours temporarily so they are temporarily locked out? Seems like less of a hassle than freezing a bunch of accounts as it can be done via profiles.
    – M.D
    Oct 19, 2021 at 21:11

3 Answers 3

4

Piggy backing on Rodrigo, here is a link to knowledge article to freeze multiple users at once. I would recommend freezing rather than marking inactive as it will allow integrations to continue to run.

Another caveat, make sure to leave any integration users off of this list as well as yours.

1
  • Good point @Brio87
    – Rodrigo
    May 17, 2019 at 20:30
1

I would export all user's ids along with the Active field.

MAKE SURE YOU LEAVE YOUR USER OUT OF THIS LIST.

Mass update the users to make them inactive.

1
  • I feel like that's a bootleg way. Is there not a switch somewhere internally?
    – Mr.Smith
    May 17, 2019 at 15:08
0

You can disable all users except Administrators using open-source VsCode plugin sfdx-hardis :)

enter image description here

You can see details in the following article

https://medium.com/@dimitrimonge/freeze-unfreeze-users-during-salesforce-deployment-8a1488bf8dd3

Disclaimer: I work in the company providing this open-source plugin

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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