This documentation is archived and is not being maintained.

SPWeb.AllRolesForCurrentUser Property

Windows SharePoint Services 3

Gets the collection of role definitions for the roles to which the current user is assigned.

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

public SPRoleDefinitionBindingCollection AllRolesForCurrentUser { get; }

Property Value

Type: Microsoft.SharePoint.SPRoleDefinitionBindingCollection
An SPRoleDefinitionBindingCollection object that represents the role definitions for the current user.

Implements

ISecurableObject.AllRolesForCurrentUser
Show: