This documentation is archived and is not being maintained.

SPList.AllRolesForCurrentUser Property

Windows SharePoint Services 3

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)

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
Show: