Register User Id and Display name in MFP Push notification

348 Views Asked by At

How to register the device with user id and display name.. In MFP console, its not showing the same..

Is there anyway to add these 2 in "MFPPush.registerDevice" Function ?

1

There are 1 best solutions below

2
Vittal Pai On
  1. You can see userId in MFP Console whenever user is logged in with UserLogin Security Check in the application.

    Refer User Authentication tutorial to know more about UserLogin Security Check in MFP 8.0 : link

  2. In order to set device display name, You need to use setDeviceDisplayName in your client Application.

    The following are the links to API Documentation for setDeviceDisplayName API.

  3. You cannot add these parameters using MFPPush.registerDevice(). registerDevice() API takes the authentication context (from the security check) and adds the userID and displayName automatically.