sfmcsdk / com.salesforce.marketingcloud.sfmcsdk.components.identity / Identity / setProfileAttributes

setProfileAttributes

@JvmOverloads fun setProfileAttributes(attributes: Map<String, String?>, vararg modules: ModuleIdentifier = ModuleIdentifier.values()): Unit

Method to set Profile Attributes to the modules identified by ModuleIdentifier If modules are not specified , defaults to all modules via ModuleIdentifier

Parameters

attributes - Attribute Map of format String to String

modules -

List of modules ModuleIdentifier on which the new Profile Id need to be set

Note: This only sets ProfileAttributes to ModuleIdentity initialised via Identity.setModuleIdentity