MembershipManager.DefaultPolicy Property
This member overrides PrivacyItemManagerBase<T>.DefaultPolicy.
Namespace: Microsoft.Office.Server.UserProfiles
Assembly: Microsoft.Office.Server (in Microsoft.Office.Server.dll)
Syntax
'Declaration
Public Overrides ReadOnly Property DefaultPolicy As PrivacyPolicyItem
Get
'Usage
Dim instance As MembershipManager
Dim value As PrivacyPolicyItem
value = instance.DefaultPolicy
public override PrivacyPolicyItem DefaultPolicy { get; }
Property Value
Type: Microsoft.Office.Server.UserProfiles.PrivacyPolicyItem
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 on how to set privacy of a property, see How to: Set Privacy Policies for User Profile Properties.