Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the privacy level of the membership.
Namespace: [UserProfileService Web service]
Web service reference: http://Site/_vti_bin/UserProfileService.asmx
Syntax
'Declaration
Public Property Privacy As Privacy
Get
Set
'Usage
Dim instance As MembershipData
Dim value As Privacy
value = instance.Privacy
instance.Privacy = value
public Privacy Privacy { get; set; }
Property Value
Type: [UserProfileService Web service].Privacy
The privacy level of the membership.
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
For more information about memberships, see Memberships Overview. For a code example about how to create a member group and add a member to the newly created group, see How to: Create Memberships.