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 bool HasUniquePerm { get; set; }

Property value

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