PrivacyPolicyManager.GetInstance Method (UserProfileManager)

Gets the shared singleton instance of the privacy policy manager.

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


Public Shared Function GetInstance ( _
    userProfileManager As UserProfileManager _
) As PrivacyPolicyManager
Dim userProfileManager As UserProfileManager
Dim returnValue As PrivacyPolicyManager

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


Return Value

Type: Microsoft.Office.Server.UserProfiles.PrivacyPolicyManager
A PrivacyPolicyManager object.


For more information about privacy policies, see Privacy Policies. 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


PrivacyPolicyManager Class

PrivacyPolicyManager Members

GetInstance Overload

Microsoft.Office.Server.UserProfiles Namespace