iOS SDK - Customer/User Module
Use the endpoint of this module to retrieve profile data for a logged-in user in order to pre-populate form fields such as
email address, and
mailing address in other areas of the app, saving the user from re-entering the data and optimizing the user experience.
Initialize Customer Facade
Prior to invoking any customer module endpoints:
- Create a new request object for the relevant coordinator.
- Implement the delegate for the coordinator to handle responses.
PDCustomerCoordinator *customerCoordinator = [[PDCustomerCoordinator alloc] init]; self.customerCoordinator = CustomerCoordinator; [customerCoordinator release];
Gets profile data for the logged-in user (WLW, not SSO).
Tip: Invoke this call immediately after successful authentication to minimize performance impact during app navigation or transaction processing.
The retrieval action failed.
The user must be logged in to invoke this call.