What is a method to resolve if the current storefront customer is a Salesforce B2B Commerce guest user in an apex class?
Suggested Answer: B
Get Premium Salesforce Accredited B2B Commerce Developer Professional (AP-202) Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
11 comments · newest first
ED
Eden
12 months ago
I thought guest users were handled differently in Apex. Is that right?
KI
Kirk
12 months ago
Wait, is D even a valid method? I’m not sure about that one.
AR
Arlette
12 months ago
C is a solid option too, but not as direct.
IV
Ivette
1 year ago
B seems more straightforward to me.
GO
Golda
1 year ago
I think it's definitely A. That’s what I use!
HU
Hubert
1 year 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.
JE
Jesusita
1 year 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.
DA
Dacia
1 year 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.
MI
Milly
1 year 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.
ER
Erinn
1 year 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.
RO
Rosalind
1 year ago
Hmm, this looks tricky. I know digital forensics needs legal authorization, but I'd double-check each option carefully.