Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
HasUniquePerm property
Collapse the table of content
Expand the table of content

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.
© 2015 Microsoft