다음을 통해 공유


PrivacyPolicyItem.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
Public Property UserOverridePrivacy As Boolean
    Get
    Set
'Usage
Dim instance As PrivacyPolicyItem
Dim value As Boolean

value = instance.UserOverridePrivacy

instance.UserOverridePrivacy = value
public 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.

Implements

IPrivacyPolicyItem.UserOverridePrivacy

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

PrivacyPolicyItem Class

PrivacyPolicyItem Members

Microsoft.Office.Server.UserProfiles Namespace