Share via


Area.InheritSecurity Property

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)

Syntax

'Declaration
<ObsoleteAttribute("This class is obsolete.")> _
Public Property InheritSecurity As Boolean
    Get
    Set
'Usage
Dim instance As Area
Dim value As Boolean

value = instance.InheritSecurity

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

Property Value

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

Remarks

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.

See Also

Reference

Area Class

Area Members

Microsoft.SharePoint.Portal.SiteData Namespace