다음을 통해 공유


Privacy Enumeration

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

Namespace:  [UserProfileService Web service]
Web service reference: http://Site/_vti_bin/UserProfileService.asmx

Syntax

'Declaration
<SerializableAttribute> _
Public Enumeration Privacy
'Usage
Dim instance As Privacy
[SerializableAttribute]
public enum Privacy

Members

Member name Description
Public Gives access to the resource to all users.
Contacts Limits access to the resource to the owner of the resource and the owner’s colleagues.
Organization Limits access to the resource to the owner of the resource and the owner’s workgroup colleagues.
Manager Limits access to the resource to the owner of the resource and the owner’s manager.
Private Limits access to the resource to the owner of the resource.
NotSet The privacy level is not set. The privacy level is specified by the settings defined in the user profile policy.

Remarks

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

Reference

UserProfileService Web Service