About the Member Privacy Settings API

The Member Privacy Settings API allows you to override the default privacy status of site member 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 their profiles public. This API switches the privacy settings for all site members at once.

With the Member Privacy Settings API, you can:

  • Set the member privacy settings.
  • Retrieve the member privacy settings.

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:

Use case

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?