Privacy enumeration

Represents the privacy level that you can set on user profile data.

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

Syntax

'Declaration
Public Enumeration Privacy
'Usage
Dim instance As Privacy
public enum Privacy

Members

Member name Description
Public Gives everyone visibility to the user's profile properties and other My Site content.
Contacts This object, member, or enumeration is deprecated and is not intended to be used in your code. Limits the visibility of users' profile properties, and other My Site content, to my colleagues.
Organization This object, member, or enumeration is deprecated and is not intended to be used in your code. Limits the visibility of users' profile properties, and other My Site content, to my workgroup.
Manager This object, member, or enumeration is deprecated and is not intended to be used in your code. Limits the visibility of users' profile properties, and other My Site content, to my manager and me.
Private Limits the visibility of the user's profile properties and other My Site content to the user only.
NotSet The privacy level for user's profile properties and other My Site content is not set.

Remarks

For more information about privacy, see Privacy Policies. For a code example about how to set the privacy of a property, see How to: Set Privacy Policies for User Profile Properties.

See also

Reference

Microsoft.Office.Server.UserProfiles namespace