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)
Available in Sandboxed Solutions: No

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