Share via


PrivacyItem Class

Provides methods and properties to add, delete, retrieve, set, change, and manage an item that is a privacy item.

Inheritance Hierarchy

System.Object
  Microsoft.Office.Server.UserProfiles.PrivacyItem
    Microsoft.Office.Server.UserProfiles.Colleague
    Microsoft.Office.Server.UserProfiles.Membership
    Microsoft.Office.Server.UserProfiles.PersonalizationLink
    Microsoft.Office.Server.UserProfiles.QuickLink

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

Syntax

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

Remarks

For more information about privacy policies, see Privacy Policies. For a code example about 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

PrivacyItem Members

Microsoft.Office.Server.UserProfiles Namespace