With the Member Privacy Settings API you can override the default privacy status of site members' profiles. For example, if the default status is private, you can switch the privacy settings to public, so that users could have an ability to make the profiles public. Use this API to quickly switch the privacy settings for all site members at once.
With the Member Privacy Settings API, you can:
If you call the Member Privacy Settings API, new settings are applied for the current members of the site, overriding the default status. For newly signed up members, only the default status is applied.
Example for using the Default Privacy Status API together with the Member Privacy Settings API when the site's default privacy status is PRIVATE
:
PUBLIC
. Current members can now choose to make their profiles PUBLIC
. Newly signed-up members will have private profiles by default but can change their profiles to PUBLIC
individually.Example for using the Default Privacy Status together with the Member Privacy Settings API when the site's default privacy status is PUBLIC
:
PRIVATE
. All current and newly signed-up members can't make the profile PUBLIC
.