SPRoleAssignment.Parent property
Gets the parent object for the role assignment.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public ReadOnly Property Parent As ISecurableObject
Get
'Usage
Dim instance As SPRoleAssignment
Dim value As ISecurableObject
value = instance.Parent
public ISecurableObject Parent { get; }
Property value
Type: Microsoft.SharePoint.ISecurableObject
An ISecurable interface that represents the parent object.
Remarks
The parent object is a null reference (Nothing in Visual Basic) until the role assignment is added to the collection.