Share via


PropertyInfo.DefaultPrivacy Property

Gets and sets the default privacy policy for the property.

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

Syntax

'Declaration
Public Property DefaultPrivacy As Privacy
    Get
    Set
'Usage
Dim instance As PropertyInfo
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 property.

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.

See Also

Reference

PropertyInfo Class

PropertyInfo Members

Microsoft.Office.Server.UserProfiles Namespace