- All Exams Instant Download
What is a method to resolve if the current storefront customer is a Salesforce B2B Commerce guest user in an apex class?
What is a method to resolve if the current storefront customer is a Salesforce B2B Commerce guest user in an apex class?
A . ccrz.cc_CallContext.currUser.isGuest
B . ccrz.cc_CallContext.isGuest
C . UserInfo.getUserType()
D . … UserType
Answer: B
Explanation:
A method to resolve if the current storefront customer is a Salesforce B2B Commerce guest user in an apex class is to use ccrz.cc_CallContext.isGuest. This property will return true if the current user is a guest user, or false otherwise. For example, if(ccrz.cc_CallContext.isGuest){ // do something for guest user } will execute some logic only for guest users.
Reference: B2B Commerce and D2C Commerce Developer Guide, Call Context
Latest B2B Commerce For Developers Dumps Valid Version with 139 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Subscribe
Login
0 Comments
Inline Feedbacks
View all comments