Share via


SPSecurableObject.AllRolesForCurrentUser property

Gets a full list of role definitions on the object to which the current user belongs on this scope.

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

Syntax

public virtual SPRoleDefinitionBindingCollection AllRolesForCurrentUser { get; }

Property value

Type: Microsoft.SharePoint.SPRoleDefinitionBindingCollection
The full list of role definitions on the object to which the current user belongs on this scope.

Implements

ISecurableObject.AllRolesForCurrentUser

See also

Reference

SPSecurableObject class

SPSecurableObject members

Microsoft.SharePoint namespace