PrivacyPolicyManager.Item Property (Guid)
Gets a privacy policy item by using the globally unique identifier (GUID) of the policy for the item.
Namespace: Microsoft.Office.Server.UserProfiles
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
policyId As Guid _
) As IPrivacyPolicyItem
Get
'Usage
Dim instance As PrivacyPolicyManager
Dim policyId As Guid
Dim value As IPrivacyPolicyItem
value = instance(policyId)
public IPrivacyPolicyItem this[
Guid policyId
] { get; }
Parameters
policyId
Type: System.GuidThe globally unique identifier (GUID) of the policy for the item.
Property Value
Type: Microsoft.Office.Server.UserProfiles.IPrivacyPolicyItem
The IPrivacyPolicyItem 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.