setProfileId

fun setProfileId(value: String): Identity.Builder

Sets the profile ID for the identity. The profile ID serves as the unique identifier for the user and is used by Marketing Cloud Engagement. If the value is null, blank, or empty, the value will be ignored and a warning will be logged.

Return

The builder instance for method chaining.

Parameters

value

The profile ID to set. Must be a valid, non-empty string.