Share via


SPPermissionInfo.RoleAssignments property

Gets the role assignments that the user belongs to, directly or indirectly. For example, if the user belongs to a domain group that has permissions.

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

Syntax

'Declaration
Public ReadOnly Property RoleAssignments As Collection(Of SPRoleAssignment)
    Get
'Usage
Dim instance As SPPermissionInfo
Dim value As Collection(Of SPRoleAssignment)

value = instance.RoleAssignments
public Collection<SPRoleAssignment> RoleAssignments { get; }

Property value

Type: System.Collections.ObjectModel.Collection<SPRoleAssignment>
A Collection<T> of SPRoleAssignment objects that represents the role assignments.

See also

Reference

SPPermissionInfo class

SPPermissionInfo members

Microsoft.SharePoint namespace