Hello Salesforce Thinkers, In our previous blog we learned about Salesforce Schema Builder in this blog we are going to learn “Deactivating vs Freezing a User”.

Deactivating a user:-
In Salesforce once created a user record it can not be deleted, but we can deactivate or Freeze a user account so a user can no longer log in to Salesforce.
Key Point :
When we deactivate a user it frees up that Salesforce license to be given to another user.
Steps to Deactivate a User:-
- Setup >> Enter Users in the Quick Find box >> click on Users.

- Click Edit next to a user’s name.
- Deselect the Active checkbox.

- Click Save
Freezing a User:-
If any configuration prevents user deactivation we can freeze the user. Freezing a user account will temporarily prevent a user from logging in.
We can’t immediately deactivate an account, such as when a user is selected in a custom hierarchy field or a user that’s assigned as the sole recipient of a workflow email alert. To prevent users from logging into our organization while we perform the steps to deactivate them, we can freeze user accounts.
So while a user is frozen and once we have cleaned up everything assigned to them, then we can deactivate that user.
Steps to Freeze a User:-
- From Setup >> enter Users in the Quick Find box >> click on Users.

- Click the name of the user whose account you want to freeze.
- Click Freeze.

KEY POINT :
Freezing user accounts doesn’t make their user licenses available for use in our organization.
If we freeze an account, it gives us the opportunity to move the associated records to the ownership of someone else so they would be able to manage those accounts. “Freezing” only stops the user from being able to login.
For example, we have a user Jay, just left our company and we want to deactivate his account. However, he is selected in a custom hierarchy field, so we’ll need to first perform some more steps to remove him from the field. Since we can’t immediately deactivate his account, we can freeze it in the meantime.
Thank you for Reading, Hope it is helpful.