Contains the GUID constants for a user profile privacy policy.
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _ <SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _ Public Class PrivacyPolicyIdConstants
Dim instance As PrivacyPolicyIdConstants
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)] [SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)] public class PrivacyPolicyIdConstants
You can pass the GUID constants for the privacy policy into the indexer of the PrivacyPolicyManager object.
For more information about privacy policies, see Privacy Policies and Writing Policy-Compliant Code. For a code example that shows how to set the privacy policy of a property, see How to: Set Privacy Policies for User Profile Properties.