ISecurableObject.RoleAssignments property

NOTE: This API is now obsolete.

Gets the role assignments for the object.

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

Syntax

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

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

Property value

Type: Microsoft.SharePoint.SPRoleAssignmentCollection
An SPRoleAssignmentCollection object that represents the role assignments.

Remarks

Even inherited objects have a RoleAssignments property.

See also

Reference

ISecurableObject interface

ISecurableObject members

Microsoft.SharePoint namespace