function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
maddy27maddy27 

How to give just login as other user access

Hi ,

I have a scenario where we are trying to restrict access on custom profile where User cannot create new users /permission sets / roles etc.
 - Disabled Modify All access in System Permission

However i would like to give access just to login as other user to troubleshoot as and when required.

Please let me know the best approach for this solution , I have tried delegated Administrator settings but it opens up more access.

Thanks in advance
Best Answer chosen by maddy27
SwethaSwetha (Salesforce Developers) 
HI Maddy,
Looks like without additional permissions you will not be able to grant the "login as user" access. There is no such option available via UI to achieve this functionality. 

There is a similar ask and you might want to try the approach of making users Delegated Administrators for certain users in the Role Hierarchy :
https://salesforce.stackexchange.com/questions/26944/how-can-i-give-normal-user-to-access-log-in-as-other-user-privilege-without-gi

https://salesforce.stackexchange.com/questions/239340/login-as-another-user-without-view-setup-and-configuration-permission

I also recommend logging this ask as an Idea on salesforce Idea exchange (https://trailblazer.salesforce.com/ideaSearch)so that the product development team can consider this valid use case and implement it in upcoming releases based on number of upvotes.

Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful. Thank you

All Answers

SwethaSwetha (Salesforce Developers) 
HI Maddy,
Looks like without additional permissions you will not be able to grant the "login as user" access. There is no such option available via UI to achieve this functionality. 

There is a similar ask and you might want to try the approach of making users Delegated Administrators for certain users in the Role Hierarchy :
https://salesforce.stackexchange.com/questions/26944/how-can-i-give-normal-user-to-access-log-in-as-other-user-privilege-without-gi

https://salesforce.stackexchange.com/questions/239340/login-as-another-user-without-view-setup-and-configuration-permission

I also recommend logging this ask as an Idea on salesforce Idea exchange (https://trailblazer.salesforce.com/ideaSearch)so that the product development team can consider this valid use case and implement it in upcoming releases based on number of upvotes.

Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful. Thank you
This was selected as the best answer
maddy27maddy27
Thanks Swetha for sharing more details