Is there a way to Grant Account Login Acces using Apex? Not through the UI as shown in the screenshot from below. Maybe something using the Tooling API? Or Metadata API?

Thank you in advance!

Grant Account Login Access screenshot

1 Answer 1


No. There is no API for granting login access. It must be done by using the user interface. Technically, you could use a Headless Browser, but this is not an official API, it would be the same as using the UI.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .