You need to sign in to do that
Don't have an account?
Ashish Malikar
Want to logged-in as another user in apex
Hi All,
I want to logged-in as another user to execute some part of code, like in test classes we can use System.runAs(). But this is not applicable in non-test context. Is there another alternative to do this in non-test apex class?
I want to logged-in as another user to execute some part of code, like in test classes we can use System.runAs(). But this is not applicable in non-test context. Is there another alternative to do this in non-test apex class?
https://www.cloudforce4u.com/2015/10/rest-api-integration-salesforce-apex.html
Thanks
Arpit
Please mark this answer as SOLVED and BEST ANSWER if it helps you.