Skip to content

Latest commit

 

History

History
43 lines (35 loc) · 1.31 KB

events-dispatched-by-the-user-profile.md

File metadata and controls

43 lines (35 loc) · 1.31 KB

Events Dispatched by the User Profile

USER_PROFILE : RESPONSE_PROFILE {#title-text}

The event is used to share the user profile with the other extension. This event will be generated by the User Profile extension when the user profile is updated and persistently stored.

Data Payload Definition

Key Value Type Optional Description
Map Map No

A map of all the user profile attributes and the attribute values.

This map will contain all the user profile attributes (the most updated copy).

The consumers of this data may replace the existing user profile copy that they may have with this copy.

Here is a code sample for the `USER_PROFILE : RESPONSE_PROFILE` event:
{
    EventName : "UserProfile Response Event"
    EventType : "com.adobe.eventType.userProfile",
    EventSource : "com.adobe.eventSource.responseProfile",
    EventData: {
                "userName": "John Doe"
                 "creditPoints": 255,
                 "isPaidUser": true
               }
}