PrivacyPolicyItem.DefaultPrivacy Property
Gets and sets the default privacy policy for the privacy policy item.
Namespace: Microsoft.Office.Server.UserProfiles
Assembly: Microsoft.Office.Server (in Microsoft.Office.Server.dll)
Syntax
'Declaration
Public Property DefaultPrivacy As Privacy
Get
Set
'Usage
Dim instance As PrivacyPolicyItem
Dim value As Privacy
value = instance.DefaultPrivacy
instance.DefaultPrivacy = value
public Privacy DefaultPrivacy { get; set; }
Property Value
Type: Microsoft.Office.Server.UserProfiles.Privacy
The default privacy policy for the privacy policy item.
Implements
IPrivacyPolicyItem.DefaultPrivacy
Remarks
The default privacy policy limits the visibility of properties, users' My Documents, and other My Site content to:
Private [Only Me]
Manager [Me and my manager]
My Workgroup [Organization]
My Colleagues [Contacts]
Public [Everyone]
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.