PrivacyPolicyManager PrivacyPolicyManager PrivacyPolicyManager Class

Definition

Represents the privacy policy manager.

public ref class PrivacyPolicyManager
public class PrivacyPolicyManager
Public Class PrivacyPolicyManager
Inheritance
PrivacyPolicyManagerPrivacyPolicyManagerPrivacyPolicyManager

Remarks

For more information about privacy policies, see Privacy Policies and Writing Policy-Compliant Code. For a code example about how to set the privacy policy of a property, see How to: Set Privacy Policies for User Profile Properties.

Properties

Item[Guid] Item[Guid] Item[Guid]

Gets a privacy policy item by using the globally unique identifier (GUID) of the policy for the item.

Item[String] Item[String] Item[String]

Gets a privacy policy item by using the user profile property name.

Item[String, String] Item[String, String] Item[String, String]

Methods

CreatePrivacyPolicy(String, String, PrivacyPolicy, Privacy, Boolean) CreatePrivacyPolicy(String, String, PrivacyPolicy, Privacy, Boolean) CreatePrivacyPolicy(String, String, PrivacyPolicy, Privacy, Boolean)

Creates a privacy policy.

GetAllItems() GetAllItems() GetAllItems()

Gets all the privacy policy items.

GetInstance() GetInstance() GetInstance()

Gets the shared singleton instance of the privacy policy manager.

GetInstance(UserProfileManager) GetInstance(UserProfileManager) GetInstance(UserProfileManager)

Gets the shared singleton instance of the privacy policy manager.

Extension Methods

ToJson(Object) ToJson(Object) ToJson(Object)

Applies to