Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets and sets the privacy level of an item.
Namespace: Microsoft.Office.Server.UserProfiles
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
Public Property PrivacyLevel As Privacy
Get
Set
'Usage
Dim instance As PrivacyItem
Dim value As Privacy
value = instance.PrivacyLevel
instance.PrivacyLevel = value
public Privacy PrivacyLevel { get; set; }
Property Value
Type: Microsoft.Office.Server.UserProfiles.Privacy
The Privacy object.
Remarks
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.