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