Share via


MembershipManager.DefaultPolicy Property

Gets the default privacy policy.

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.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 and Writing Policy-Compliant Code. For a code example about how to set the privacy policy of a property, see How to: Set Privacy Policies for User Profile Properties.

See Also

Reference

MembershipManager Class

MembershipManager Members

Microsoft.Office.Server.UserProfiles Namespace