New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Salesforce B2B Commerce for Developers Accredited Professional (AP-202) Exam - Topic 1 Question 17 Discussion

Actual exam question for Salesforce's B2B Commerce for Developers Accredited Professional (AP-202) exam
Question #: 17
Topic #: 1
[All B2B Commerce for Developers Accredited Professional (AP-202) Questions]

What is a method to resolve if the current storefront customer is a Salesforce B2B Commerce guest user in an apex class?

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

0/2000 characters
Eden
4 months ago
I thought guest users were handled differently in Apex. Is that right?
upvoted 0 times
...
Kirk
4 months ago
Wait, is D even a valid method? I’m not sure about that one.
upvoted 0 times
...
Arlette
4 months ago
C is a solid option too, but not as direct.
upvoted 0 times
...
Ivette
4 months ago
B seems more straightforward to me.
upvoted 0 times
...
Golda
4 months ago
I think it's definitely A. That’s what I use!
upvoted 0 times
...
Hubert
5 months ago
I’m a bit confused about this one. I remember UserInfo.getUserType() being important, but I can't recall if it specifically checks for guest users.
upvoted 0 times
...
Jesusita
5 months ago
I feel like I practiced a question similar to this, and I think option B might be the answer. It seems to directly reference the guest user status.
upvoted 0 times
...
Dacia
5 months ago
I think option A sounds familiar, but I'm not entirely sure if it's the right one. I remember something about checking the current user context.
upvoted 0 times
...
Milly
5 months ago
I think option D is just a part of the UserType method, but I’m not sure how it relates to identifying guest users. It feels incomplete to me.
upvoted 0 times
...
Erinn
5 months ago
Reverse logistics, that's the one. Increased online sales means more items being shipped to customers, so there's a greater need to handle returns and get those products back into the supply chain.
upvoted 0 times
...
Rosalind
5 months ago
Hmm, this looks tricky. I know digital forensics needs legal authorization, but I'd double-check each option carefully.
upvoted 0 times
...

Save Cancel