Share via


PrivacyPolicyManager.GetAllItems method

Gets all the privacy policy items.

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

Syntax

'Declaration
Public Function GetAllItems As PrivacyPolicyItem()
'Usage
Dim instance As PrivacyPolicyManager
Dim returnValue As PrivacyPolicyItem()

returnValue = instance.GetAllItems()
public PrivacyPolicyItem[] GetAllItems()

Return value

Type: []
An array of privacy policy items.

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

PrivacyPolicyManager class

PrivacyPolicyManager members

Microsoft.Office.Server.UserProfiles namespace