Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Certified Platform Developer II All Questions

View all questions & answers for the Certified Platform Developer II exam

Exam Certified Platform Developer II topic 1 question 85 discussion

Actual exam question from Salesforce's Certified Platform Developer II
Question #: 85
Topic #: 1
[All Certified Platform Developer II Questions]

A developer has created a solution using the SOAP API for authenticating Communities users.
What is needed when issuing the login() Call? (Choose two.)

  • A. Organization Id
  • B. Session Id
  • C. Username and Password
  • D. Security Token
Show Suggested Answer Hide Answer
Suggested Answer: CD 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
amerbearat
Highly Voted 3 years, 3 months ago
The correct answer is CD Explanation/Reference: https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_calls_login.htm
upvoted 7 times
...
MarkusT
Most Recent 5 months, 2 weeks ago
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.
upvoted 1 times
...
RegNav
1 year, 5 months ago
I don't think Communities user have Security Token. Not D then. AC?
upvoted 2 times
...
santo_aj
1 year, 6 months ago
Selected Answer: CD
<?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>
upvoted 1 times
...
santo_aj
1 year, 6 months ago
Selected Answer: CD
C D is the correct answer. LoginResult = connection.login(string username, string password); To log in, the user must add the security token at the end of the user’s password. https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_calls_login.htm
upvoted 1 times
...
lorenac2
1 year, 10 months ago
Selected Answer: CD
CD, can also be used in the REST API: https://developer.salesforce.com/docs/atlas.en-us.202.0.api_rest.meta/api_rest/intro_understanding_username_password_oauth_flow.htm
upvoted 1 times
...
sf2022
1 year, 11 months ago
Selected Answer: CD
CD are correct ans
upvoted 1 times
...
Rp194
2 years, 4 months ago
Should be CD
upvoted 1 times
...
amerbearat
3 years, 3 months ago
A developer has created a solution using the SOAP API for authenticating Communities users. What is needed when issuing the login() Call?
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...