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)

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