SPList.AllRolesForCurrentUser Property
Gets all list roles to which the current user directly belongs, but excludes roles to which the user indirectly belongs, such as through membership in a domain group.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
Public ReadOnly Property AllRolesForCurrentUser As SPRoleDefinitionBindingCollection
Get
Dim instance As SPList
Dim value As SPRoleDefinitionBindingCollection
value = instance.AllRolesForCurrentUser
public SPRoleDefinitionBindingCollection AllRolesForCurrentUser { get; }
Property Value
Type: Microsoft.SharePoint.SPRoleDefinitionBindingCollection
An SPRoleDefinitionBindingCollection collection that contains the role definitions to which the current user directly belongs.
Implements
ISecurableObject.AllRolesForCurrentUser