Share via


WebPartPermissionAttribute.Unrestricted Property

NOTE: This API is now obsolete.

Gets or sets a value indicating whether full (unrestricted) permission is declared to the resource protected by the attribute.

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

Syntax

'Declaration
<ObsoleteAttribute("Web Part permissions are obsolete and no longer required")> _
Public Property Unrestricted As Boolean
    Get
    Set
'Usage
Dim instance As WebPartPermissionAttribute
Dim value As Boolean

value = instance.Unrestricted

instance.Unrestricted = value
[ObsoleteAttribute("Web Part permissions are obsolete and no longer required")]
public bool Unrestricted { get; set; }

Property Value

Type: System.Boolean
A Boolean value that is true if full permission to the protected resource is declared; otherwise, false.

See Also

Reference

WebPartPermissionAttribute Class

WebPartPermissionAttribute Members

Microsoft.SharePoint.Security Namespace