![]() | User Data Publishing Preferences |
It is important to understand and correctly handle user profile data which has been designated as 'Do Not Publish'. When a website or application retrieves user profile data using methods from the UserProfileService or the DataExportService, ALL of the profile data elements for the user(s) are returned, regardless of whether or not they are designated as 'Do Not Publish' items, since the website or application may need to display this data to the user and/or allow the user to update certain items. However, you must be sure to respect these user preferences when displaying data to other community members or the public, for example, as part of an online school directory or other listing. This can be accomplished by utilizing the various user profile publishing preference data elements, which are always returned as part of the profile.
For each address, there are separate elements to control publishing of:
There is also an element to control publishing for each block of Constituent Education data.
These elements are all designated or begin with 'NotPublish' (e.g. NotPublishAddressLines) and are of boolean type. They return a value of True if the user does not want the data published, and otherwise return a value of False.