setCustomUserAttribute

Sets a boolean custom user attribute. This can be any key/value pair and is used to collect extra information about the user. The key parameter is limited to 255 characters in length and can only contain alphanumeric characters and underscores. Keys which are too long will be truncated. See CustomAttributeValidationUtils.isValidCustomAttributeKey.

Return

whether or not the custom user attribute was set correctly

Parameters

key

The identifier of the custom attribute

value

The boolean value of the custom attribute


Sets an int custom user attribute. This can be any key/value pair and is used to collect extra information about the user. The key parameter is limited to 255 characters in length and can only contain alphanumeric characters and underscores. Keys which are too long will be truncated. Keys may not be a reserved key. See CustomAttributeValidationUtils.isValidCustomAttributeKey.

Return

whether or not the custom user attribute was set correctly

Parameters

key

The identifier of the custom attribute

value

The int value of the custom attribute


Sets a float custom user attribute. This can be any key/value pair and is used to collect extra information about the user. The key parameter is limited to 255 characters in length and can only contain alphanumeric characters and underscores. Keys which are too long will be truncated. Keys may not be a reserved key. See CustomAttributeValidationUtils.isValidCustomAttributeKey

Return

whether or not the custom user attribute was set correctly

Parameters

key

The identifier of the custom attribute

value

The float value of the custom attribute


Sets a long custom user attribute. This can be any key/value pair and is used to collect extra information about the user. The key parameter is limited to 255 characters in length and can only contain alphanumeric characters and underscores. Keys which are too long will be truncated. Keys may not be a reserved key. See CustomAttributeValidationUtils.isValidCustomAttributeKey

Return

whether or not the custom user attribute was set correctly

Parameters

key

The identifier of the custom attribute

value

The long value of the custom attribute


Sets a string custom user attribute. This can be any key/value pair and is used to collect extra information about the user. The key and value parameters are limited to 255 characters in length. Keys and values which are too long will be truncated. Keys can only contain alphanumeric characters and underscores. Keys may not be a reserved key. See CustomAttributeValidationUtils.isValidCustomAttributeKey

Return

whether or not the custom user attribute was set correctly

Parameters

key

The identifier of the custom attribute

value

The String value of the custom attribute


Sets a double custom user attribute. This can be any key/value pair and is used to collect extra information about the user. The key parameter is limited to 255 characters in length. Keys which are too long will be truncated. Keys can only contain alphanumeric characters and underscores. Keys may not be a reserved key. See CustomAttributeValidationUtils.isValidCustomAttributeKey

Return

whether or not the custom user attribute was set correctly

Parameters

key

The identifier of the custom attribute

value

The double value of the custom attribute


Sets a JSON custom user attribute. This can be any key/value pair and is used to collect extra information about the user. The key parameter is limited to 255 characters in length. Keys which are too long will be truncated. Keys can only contain alphanumeric characters and underscores. Keys may not be a reserved key. See CustomAttributeValidationUtils.isValidCustomAttributeKey

Return

whether or not the custom user attribute was set correctly

Parameters

key

The identifier of the custom attribute

value

The JSON object of the custom attribute

merge

Boolean that indicates if the attributes should be merged with the existing attributes.


Sets a JSON custom user attribute. This can be any key/value pair and is used to collect extra information about the user. The key parameter is limited to 255 characters in length. Keys which are too long will be truncated. Keys can only contain alphanumeric characters and underscores. Keys may not be a reserved key. See CustomAttributeValidationUtils.isValidCustomAttributeKey

Return

whether or not the custom user attribute was set correctly

Parameters

key

The identifier of the custom attribute

value

The JSON array of the custom attribute