Share via


SPSecurableObject.RoleAssignments property

Gets the role assignments for this securable object.

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

Syntax

'Declaration
Public Overridable ReadOnly Property RoleAssignments As SPRoleAssignmentCollection
    Get
'Usage
Dim instance As SPSecurableObject
Dim value As SPRoleAssignmentCollection

value = instance.RoleAssignments
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