Share via


SPPermission.Parent property

NOTE: This API is now obsolete.

Gets the parent object for the specified permission object, which can be a list or a Web site.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<ObsoleteAttribute("Use the SPRoleAssignment class instead")> _
Public ReadOnly Property Parent As Object
    Get
'Usage
Dim instance As SPPermission
Dim value As Object

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

Property value

Type: System.Object
The parent object for the permission object.

See also

Reference

SPPermission class

SPPermission members

Microsoft.SharePoint namespace