Share via


ISecurableObject.AllRolesForCurrentUser property

NOTE: This API is now obsolete.

Gets all the role definitions for the current user.

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

Syntax

'Declaration
<ObsoleteAttribute("Use the SPSecurableObject class instead")> _
ReadOnly Property AllRolesForCurrentUser As SPRoleDefinitionBindingCollection
    Get
'Usage
Dim instance As ISecurableObject
Dim value As SPRoleDefinitionBindingCollection

value = instance.AllRolesForCurrentUser
[ObsoleteAttribute("Use the SPSecurableObject class instead")]
SPRoleDefinitionBindingCollection AllRolesForCurrentUser { get; }

Property value

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

See also

Reference

ISecurableObject interface

ISecurableObject members

Microsoft.SharePoint namespace