With the Default Privacy Status API you can manage the default privacy of site members' profiles, based on how much you want members to interact with each other. Decide whether or not members can make their profile public, and whether it's visible to all visitors or logged-in members only. This is the privacy status that site members get when signing up on the site.
When a profile is public, the member's name and image appear next to their activities (for example, any comments, likes or files they post).
With the Default Privacy Status 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 API 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
.