Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Salesforce Certified Platform Developer II (PDII) · Salesforce
Select 2 answers.
This question asks for 2 answers, but our data marks only 1. Compare with the community discussion below for the full answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
Answer is AC. Reference link same as others posted and it clearly states: "To authenticate an active Experience Cloud site user who has the API Enabled permission, use LoginScopeHeader to specify the Organization ID of the org with Experience Cloud sites." https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_calls_login.htm Communities users don't have security token either.
I don't think Communities user have Security Token. Not D then. AC?
<?xml version="1.0" encoding="utf-8" ?> <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema&quot; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot; xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"&gt; <env:Body> <n1:login xmlns:n1="urn:partner.soap.sforce.com"> <n1:username>{{username}}</n1:username> <n1:password>{{password}}{{secretToken}}</n1:password> </n1:login> </env:Body> </env:Envelope>