Identity Sdk
Implements
IIdentitySdk
Properties
personId
personId:
undefined
|string
Gets the current identity ID
Implementation of
IIdentitySdk.personId
Methods
getProfile()
getProfile():
PersonIdentifiers
Gets the current identity profile
Returns
Implementation of
IIdentitySdk.getProfile
Example
Converge.identity.getProfile();
console.log(Converge.identity.getProfile().seekaPId);
mergeProfile()
mergeProfile(
identifiers
):Promise
<void
>
Sets or merges the current identity profile
See track.seeka.PersonIdentifiers | PersonIdentifiers for all supported profile traits.
Parameters
• identifiers: PersonIdentifiers
Returns
Promise
<void
>
Implementation of
IIdentitySdk.mergeProfile
Example
Converge.identity.mergeProfile({
firstName: ['John'],
lastName: ['Smith'],
email: ['john.smith@companydomain123.com'],
phone: ['+61400111222'],
});