Share via


WebPartPermission.IsUnrestricted Method

NOTE: This API is now obsolete.

Determines whether the current instance of the permission has unrestricted access.

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 Function IsUnrestricted As Boolean
'Usage
Dim instance As WebPartPermission
Dim returnValue As Boolean

returnValue = instance.IsUnrestricted()
[ObsoleteAttribute("Web Part permissions are obsolete and no longer required")]
public bool IsUnrestricted()

Return Value

Type: System.Boolean
A Boolean value that is true if the current permission is unrestricted; otherwise, false.

Implements

IUnrestrictedPermission.IsUnrestricted()

Remarks

An unrestricted permission represents access to any and all resources protected by the permission.

See Also

Reference

WebPartPermission Class

WebPartPermission Members

Microsoft.SharePoint.Security Namespace