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)

Syntax

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

value = instance.HasUniquePerm

instance.HasUniquePerm = value
[ObsoleteAttribute("Use the HasUniqueRoleAssignments property or BreakRoleInheritance() and ResetRoleInheritance() methods instead")]
public bool HasUniquePerm { get; set; }

Property value

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

See also

Reference

SPWeb class

SPWeb members

Microsoft.SharePoint namespace