Area.InheritSecurity Property

SharePoint 2007

NOTE: This API is now obsolete.

Gets or sets a value indicating whether the area inherits security.

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

[ObsoleteAttribute("This class is obsolete.")]
public bool InheritSecurity { get; set; }

Property Value

Type: System.Boolean
Booleantrue if the area inherits security; otherwise, false.

Never set the InheritSecurity property to false to force inheritance breakage. If you want to break inheritance, use the Microsoft.SharePoint.Portal.Security namespace to add or remove a user or to change the security mask for a given identity. Set InheritSecurity to true when reestablishing the security inheritance to the parent area.

Show: