Disable User in ERPNext
Disabling a user in ERPNext is the recommended way to prevent access to the system without deleting the user’s account. This is particularly useful when an employee leaves the organization or when temporary access restrictions are required.
When a user is disabled, they can no longer log in to ERPNext. However, all associated configurations, permissions, and historical records remain intact and can be restored by re-enabling the user later.
Note: Disabling a user does not remove their data from the system. It only prevents login access.
How to Disable a User
Follow these steps to disable a user account:
- Open the Awesome Bar and search for User List.
- Select the user you want to disable.
- Locate the Enabled checkbox in the User document.
- Uncheck the Enabled checkbox.
- Save the document.
Once saved, the user will immediately lose access to ERPNext and will appear as Disabled in the User List.
Re-enabling a User
If access needs to be restored:
- Open the disabled User record.
- Check the Enabled checkbox.
- Save the document.
All previously assigned roles, permissions, and settings will be restored automatically.
TIP
Instead of deleting users, disable them whenever possible. This preserves audit trails, document ownership, workflow history, and user-related transactions.
Common Use Cases
- Employee resignation or termination.
- Temporary suspension of system access.
- Vendor or contractor access expiration.
- Security-related account restrictions.
- Preventing login while retaining historical records.
Related Topics
- User Management
- Role Based Permissions
- User Permissions
- Administrator
- Change Password
SUMMARY
Disabling a user in ERPNext is a safe and effective way to revoke system access while preserving all user-related configurations and historical records. Users can be re-enabled at any time without losing permissions, roles, or transaction history.