Privacy enumeration

Privacy enumeration

Represents the privacy level that specifies the set of users who are allowed to access a protected resource.

Namespace:  WebSvcUserProfileService
Assembly:  UserProfileServices (in UserProfileServices.dll)

[SerializableAttribute]
[XmlTypeAttribute(Namespace = "http://microsoft.com/webservices/SharePointPortalServer/UserProfileService")]
public enum Privacy

Member nameDescription
PublicGives access to the resource to all users.
ContactsLimits access to the resource to the owner of the resource and the owner’s colleagues.
OrganizationLimits access to the resource to the owner of the resource and the owner’s workgroup colleagues.
ManagerLimits access to the resource to the owner of the resource and the owner’s manager.
PrivateLimits access to the resource to the owner of the resource.
NotSetThe privacy level is not set. The privacy level is specified by the settings defined in the user profile policy.

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

Show:
© 2016 Microsoft