SPListItem.AllRolesForCurrentUser Property

Gets the current user's role definitions for the item.

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

Syntax

Public ReadOnly Property AllRolesForCurrentUser As SPRoleDefinitionBindingCollection
    Get

Dim instance As SPListItem
Dim value As SPRoleDefinitionBindingCollection

value = instance.AllRolesForCurrentUser
public SPRoleDefinitionBindingCollection AllRolesForCurrentUser { get; }

Property Value

Type: Microsoft.SharePoint.SPRoleDefinitionBindingCollection
An SPRoleDefinitionBindingCollection object that contains the role definitions.

Implements

ISecurableObject.AllRolesForCurrentUser

See Also

Reference

SPListItem Class

SPListItem Members

Microsoft.SharePoint Namespace