Share via


SPPermissionCollection.Inherited Property

NOTE: This API is now obsolete.

Gets a Boolean value that specifies whether the collection is inherited from the parent object.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<ObsoleteAttribute("Use the SPRoleAssignmentCollection class instead")> _
Public ReadOnly Property Inherited As Boolean
    Get
'Usage
Dim instance As SPPermissionCollection
Dim value As Boolean

value = instance.Inherited
[ObsoleteAttribute("Use the SPRoleAssignmentCollection class instead")]
public bool Inherited { get; }

Property Value

Type: System.Boolean
true if the permissions are inherited; otherwise, false.

See Also

Reference

SPPermissionCollection Class

SPPermissionCollection Members

Microsoft.SharePoint Namespace