setProfile

fun setProfile(profileId: String, attributes: Map<String, String?>, module: ModuleIdentifier, vararg modules: ModuleIdentifier)

Method to set the Profile Id , Profile attributes for a module ModuleIdentifier and notify change to modules specified

Parameters

profileId

New Profile id

attributes

New Profile attributes

module

ModuleIdentifier on which the new Profile Id and Profile attributes to be set

modules

Other Modules to which the new Profile Information to be set

Note: This only sets Profile on ModuleIdentity initialised via Identity.setModuleIdentity


fun setProfile(profile: Profile, module: ModuleIdentifier, vararg modules: ModuleIdentifier)

Method to set the new Profile Profile for a module ModuleIdentifier and notify change to modules specified

Parameters

profile

New Profile information

module

ModuleIdentifier on which the new Profile to be set

modules

Other Modules to which the new Profile Information to be set

Note : This only sets Profile on ModuleIdentity initialised via Identity.setModuleIdentity


Method to set the Profile information for map of Modules identified by ModuleIdentifier

Parameters

identities

Map of format ModuleIdentifier to Profile to be updated.

Note: This only sets Profile on ModuleIdentity initialised via Identity.setModuleIdentity