About the Default Privacy API

The Default Privacy API allows you to manage the default privacy of site member profiles based on how much you want members to interact with each other by setting the privacy status that site members get when signing up on a site. The privacy status details whether members can make their profile public, and whether it's visible to all visitors or only to logged-in members.

When a profile is public, the member's name and image appear next to their activities, such as any comments, likes or files they post.

With the Default Privacy API, you can:

  • Set the default privacy status.
  • Retrieve the default privacy status.

Override the default privacy status

You can override the default status for current members with the Member Privacy Settings API. The new settings apply to the current members of the site, overriding the default status. Newly signed-up members continue to have only the default status applied.

When a site's default privacy status is PRIVATE:

Call Set Member Privacy Settings to update the privacy settings to PUBLIC. Current members now have the option to make their profiles PUBLIC. Newly signed-up members will have private profiles by default but can then change their profiles to PUBLIC.

When a site's default privacy status is PUBLIC:

Call Set Member Privacy Settings to update the privacy settings to PRIVATE. All current and newly signed-up members can't make their profiles PUBLIC.

Before you begin

It’s important to note the following before starting to code:

Terminology

  • Member privacy settings: Settings that determine who can see site members' profiles and who is allowed to make member profiles public.
Did this help?