IPrivacyPolicyItem.UserOverridePrivacy property

Returns a Boolean value that specifies whether a user can change the privacy level to a level that is different than the default privacy policy level.

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

Syntax

'Declaration
Property UserOverridePrivacy As Boolean
    Get
    Set
'Usage
Dim instance As IPrivacyPolicyItem
Dim value As Boolean

value = instance.UserOverridePrivacy

instance.UserOverridePrivacy = value
bool UserOverridePrivacy { get; set; }

Property value

Type: System.Boolean
If a user can change the privacy level to a level that is different than the default privacy policy level, true; otherwise, false.

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.

See also

Reference

IPrivacyPolicyItem interface

IPrivacyPolicyItem members

Microsoft.Office.Server.UserProfiles namespace