SPListItem.RoleAssignments Property

Gets the collection of role assignments for the list item.

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

Syntax

Public ReadOnly Property RoleAssignments As SPRoleAssignmentCollection
    Get

Dim instance As SPListItem
Dim value As SPRoleAssignmentCollection

value = instance.RoleAssignments
public SPRoleAssignmentCollection RoleAssignments { get; }

Property Value

Type: Microsoft.SharePoint.SPRoleAssignmentCollection
An SPRoleAssignmentCollection object that represents the role assignments

Implements

ISecurableObject.RoleAssignments

See Also

Reference

SPListItem Class

SPListItem Members

Microsoft.SharePoint Namespace