Question

Difficulty: EasyUser Activation, Deactivation, and Freezing

A System Administrator needs to temporarily block a sales manager from logging into Salesforce while they are on leave. When attempting to deactivate the record, Salesforce displays an error because the manager is currently configured as a default running user in a scheduled Apex job. What should the administrator do to immediately prevent the manager from logging in?

  1. Freeze the user account to prevent login access without affecting scheduled system processes.Answer
  2. B
    Deactivate the user account to immediately free up the Salesforce user license.
  3. C
    Delete the user record from Salesforce Setup to clear all automated job references.
  4. D
    Change the user's profile to Minimum Access - Salesforce to automatically revoke login rights.

Answer

Freeze the user account to prevent login access without affecting scheduled system processes.
Freezing a user account is the recommended solution when an administrator must immediately restrict login access for a user who cannot be deactivated right away due to dependencies like scheduled jobs, workflow ownership, or custom hierarchy fields. Freezing does not free up the user license, but it prevents login without breaking system automations.

Step-by-Step Solution

1
Identify the operational constraint preventing user deactivation.
The user cannot be deactivated because they are assigned as the running user in a scheduled Apex job.
Salesforce blocks deactivation when user records are tied to active automated operations or hierarchy configurations.
2
Select the appropriate administrative action to restrict access immediately.
Freeze the user account.
Freezing stops the user from logging in immediately without unassigning their license or breaking active background automation.

Key Concept

Distinction between freezing a user account and deactivating a user account in Salesforce.
Estimated Time:1m 0s
Rate this question