Share via


PrivacyPolicyIdConstants Class

Contains the GUID constants for a user profile privacy policy.

Inheritance Hierarchy

System.Object
  Microsoft.Office.Server.UserProfiles.PrivacyPolicyIdConstants

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server (in Microsoft.Office.Server.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Class PrivacyPolicyIdConstants
'Usage
Dim instance As PrivacyPolicyIdConstants
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public class PrivacyPolicyIdConstants

Remarks

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. 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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

PrivacyPolicyIdConstants Members

Microsoft.Office.Server.UserProfiles Namespace