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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
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