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

'Declaration
Public Overridable ReadOnly Property AllRolesForCurrentUser As SPRoleDefinitionBindingCollection
    Get
'Usage
Dim instance As SPSecurableObject
Dim value As SPRoleDefinitionBindingCollection

value = instance.AllRolesForCurrentUser
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