InheritSecurity Property

The InheritSecurity property of the Area class gets or sets a value indicating whether the area inherits security.

Property Value

Boolean true 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 re-establishing the security inheritance to the parent area.


Platforms: Microsoft Windows Server 2003

Security: Code Access Security