How to enable Administrator to log in as any user in Salesforce
Administrator have option to login into the account of any user without entering their username/password. In Order to allow Administrator to login as any user, we need to make changes in below settings: We need to enable "Administrators Can Log in as Any User" setting. To do this, follow below steps: Setup > Login Access Policies > Check Administrators Can Log in as Any User checkbox. By enabling above setting, Administrator will be able to login into the account of any user but when they click logout, whole session will be destroyed. Means Administrator will be logged out from his/her session as well. If we want to keep Adminstrator session alive when Administrator logged out from user account, we need to uncheck the "Force relogin after Login-As-User" checkbox. To change this setting, we need to follow below steps: Setup > Session settings > Uncheck Force relogin after Login-As-User checkbox.