Can an user be given login as another user privileges without giving 'View Setup and Configuration' permission and 'Modify All Permission'?

As the need is to do testing in sales force logging in with different profiles without having access to the object, fields and other metadatas and configuration in the org.


You need at least View Setup & Configuration, as there's no "Login" option from anywhere other than the setup screens. You don't need Modify All Data if you're a Delegated Administrator (which also requires View Setup & Configuration). There's little reason to restrict access to View Setup & Configuration, as there's not much you can do without additional permissions.

  • The user will have view access to all the apex classes and pages and i don't want the user to access it. Is there any way to avoid it? – Moyeetri Pattanaik Nov 15 '18 at 7:34
  • 1
    @MoyeetriPattanaik View Setup & Configuration is required because otherwise you can't see users to login as. – sfdcfox Nov 15 '18 at 7:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.