Share via


PrivacyPolicyManager.GetInstance method

Gets the shared singleton instance of the privacy policy manager.

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

Syntax

'Declaration
Public Shared Function GetInstance As PrivacyPolicyManager
'Usage
Dim returnValue As PrivacyPolicyManager

returnValue = PrivacyPolicyManager.GetInstance()
public static PrivacyPolicyManager GetInstance()

Return value

Type: Microsoft.Office.Server.UserProfiles.PrivacyPolicyManager
A PrivacyPolicyManager 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.

See also

Reference

PrivacyPolicyManager class

PrivacyPolicyManager members

GetInstance overload

Microsoft.Office.Server.UserProfiles namespace