How do I configure the system to restrict terminated employees from logging into the system?

How do I configure the system to restrict terminated employees from logging into the system?

To deny system access to terminated employees, enable the "Deactivate user profiles for terminated employees after their termination date" checkbox on the Security Settings screen.

      Navigate > Configuration > Security > Security > Security Settings 

      

Note!
This setting will apply to all terminated employees.