Membership.Policy Property
Gets the privacy policy for a specified membership.
Namespace: Microsoft.Office.Server.UserProfiles
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
Public Overrides ReadOnly Property Policy As PrivacyPolicyItem
Get
'Usage
Dim instance As Membership
Dim value As PrivacyPolicyItem
value = instance.Policy
public override PrivacyPolicyItem Policy { get; }
Property Value
Type: Microsoft.Office.Server.UserProfiles.PrivacyPolicyItem
The privacy policy for a specified membership.
Remarks
For more information about types of membership groups, 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.