2

If I freeze a user and if he is already logged into Salesforce, does he lose access? Or can he access it as long as he doesn't logout?

  • you could just deactivate the user and then reactivate again, thus forcing a new SessionId and then freeze the user. – akarnid Feb 12 at 14:00
  • This particular scenario is not documented clearly. I will think the best way to confirm this is to test it out. – Jayant Das Feb 12 at 14:00
  • @akarnid the reason I didn't deactivated is because there are certain processes I need to follow before deactivating. So I freezed the user in the meantime. However, I don't want the user to access Salesforce while frozen. – RajeshShah Feb 12 at 14:03
4

Based on a quick test in my DE Org, if an admin Freezes a User while the User is already logged in and accessing Salesforce, the User session is immediately terminated. The User cannot navigate to any other page/tab within the application once Frozen. The User is presented with a message as below.

enter image description here

Incorporating @sfdcfox's comment: The behavior is same if a User is deactivated.

  • Same behavior if you deactivate the user, too. – sfdcfox Feb 12 at 17:37
  • Good to know, will add your feedback in the answer to make it more comprehensive. – Jayant Das Feb 12 at 17:39
  • Thank you @JayantDas – RajeshShah Feb 13 at 3:23
2

Salesforce checks the session's validity with every transaction. This means that if the user tries to continue working outside their Login Hours, while Frozen or deactivated, or if the IP address changes and "Lock session to IP address" changes, they will not be able to access Salesforce. There's no way to continue using a session if you're not allowed in the system for any security policy.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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