SPRoleAssignmentCollection.Parent property
NOTE: This API is now obsolete.
Gets the parent object that controls the permissions for the object to which the role assignments apply.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<ObsoleteAttribute("Use ParentSecurableObject instead")> _
Public ReadOnly Property Parent As ISecurableObject
Get
'Usage
Dim instance As SPRoleAssignmentCollection
Dim value As ISecurableObject
value = instance.Parent
[ObsoleteAttribute("Use ParentSecurableObject instead")]
public ISecurableObject Parent { get; }
Property value
Type: Microsoft.SharePoint.ISecurableObject
The parent object.
Remarks
The Parent property can return an SPWeb, SPList, or SPListItem object.
See also
Reference
SPRoleAssignmentCollection class