Share via


SPSecurableObject.RoleAssignments Property

Gets the role assignments for this securable object.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallablePropertyAttribute(ExcludeFromDefaultRetrieve := True)> _
Public Overridable ReadOnly Property RoleAssignments As SPRoleAssignmentCollection
    Get
'Usage
Dim instance As SPSecurableObject
Dim value As SPRoleAssignmentCollection

value = instance.RoleAssignments
[ClientCallablePropertyAttribute(ExcludeFromDefaultRetrieve = true)]
public virtual SPRoleAssignmentCollection RoleAssignments { get; }

Property Value

Type: Microsoft.SharePoint.SPRoleAssignmentCollection
The collection of SPRoleAssignment objects that define the role assignments for the securable object.

Implements

ISecurableObject.RoleAssignments

See Also

Reference

SPSecurableObject Class

SPSecurableObject Members

Microsoft.SharePoint Namespace