SPWeb.HasUniquePerm property

NOTE: This API is now obsolete.

Gets or sets a Boolean value that specifies whether the site has unique permissions.

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

<ObsoleteAttribute("Use the HasUniqueRoleAssignments property or BreakRoleInheritance() and ResetRoleInheritance() methods instead")> _
Public Property HasUniquePerm As Boolean
Dim instance As SPWeb
Dim value As Boolean

value = instance.HasUniquePerm

instance.HasUniquePerm = value

Property value

Type: System.Boolean
true if the website has unique permissions; otherwise, false.