Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Privacy enumeration
Collapse the table of content
Expand the table of content

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)

public enum Privacy

Member nameDescription
PublicGives everyone visibility to the user's profile properties and other My Site content.
ContactsThis 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.
OrganizationThis 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.
ManagerThis 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.
PrivateLimits the visibility of the user's profile properties and other My Site content to the user only.
NotSetThe privacy level for user's profile properties and other My Site content is not set.

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.

Show:
© 2015 Microsoft