SPInformationRightsManagementSettings.EnableGroupProtection property

Gets or sets a value indicating whether the permission of the downloaded document is applicable to a group.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property EnableGroupProtection As Boolean
    Get
    Set
'Usage
Dim instance As SPInformationRightsManagementSettings
Dim value As Boolean

value = instance.EnableGroupProtection

instance.EnableGroupProtection = value
public bool EnableGroupProtection { get; set; }

Property value

Type: System.Boolean
true if the group protection is enabled, otherwise false.

Remarks

The default value is false.

See also

Reference

SPInformationRightsManagementSettings class

SPInformationRightsManagementSettings members

Microsoft.SharePoint namespace