Set user identification information

Before you start

How to set user identification information using DFINERY SDK. SDK integrationarrow-up-right must be done first.

Set up

User identification information can be set using the Dfinery.setIdentity and Dfinery.setIdentities methods. User identification information is defined in DFIdentity, and only defined values ​​can be used.

circle-exclamation

User identification information

Category
Detail

DFIdentity.EXTERNAL_ID

User ID

DFIdentity.EMAIL

User Email

DFIdentity.PHONE_NO

User phone number

DFIdentity.KAKAO_USER_ID

User Kakao Account ID

DFIdentity.LINE_USER_ID

User line account ID

Set by item

setIdentity(identity, "IDENTITY_VALUE");

Each parameter means:

  • identity: User identification information key (using the DFIdentity constant)

  • IDENTITY_VALUE: User identification information value

Set multiple items at once

Each parameter means:

  • identities: Dictionary with keys and values ​​of user identification information

circle-exclamation

Reset user identification information

resetIdentityCalling this method will clear and initialize any previously stored user identification information.

triangle-exclamation

Last updated