Share via


SPPermissionCollection.Parent Property

NOTE: This API is now obsolete.

Gets the parent object for the collection of permissions, which can be a list or a site.

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 Parent As Object
    Get
'Usage
Dim instance As SPPermissionCollection
Dim value As Object

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

Property Value

Type: System.Object
An object that represents the parent object for the collection.

See Also

Reference

SPPermissionCollection Class

SPPermissionCollection Members

Microsoft.SharePoint Namespace