Sets persisted user data using the values in the properties of the specified Object. If the property value in the Object is null, it is ignored and no attribute value is persisted.
Syntax
setUserDataAttributes(SettingId,
objAttributes);
Parameters
settingId - (String) The name used for the persisted UserData whose attributes are set from the specified Object properties.
objAttributes - (Object) Object whose property values are written to the persisted UserData document.