Share via


IPrivacyPolicyItem.AllowPolicyOverride property

Returns a Boolean value that specifies whether a privacy policy for an item is allowed to be overridden.

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

Syntax

'Declaration
ReadOnly Property AllowPolicyOverride As Boolean
    Get
'Usage
Dim instance As IPrivacyPolicyItem
Dim value As Boolean

value = instance.AllowPolicyOverride
bool AllowPolicyOverride { get; }

Property value

Type: System.Boolean
If a policy item is allowed be overridden, 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