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)
Available in Sandboxed Solutions: No
Available in SharePoint Online
Syntax
'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.CollectionOfSPTypesReturnType)> _
Public ReadOnly Property RoleAssignments As Collection(Of SPRoleAssignment)
Get
'Usage
Dim instance As SPPermissionInfo
Dim value As Collection(Of SPRoleAssignment)
value = instance.RoleAssignments
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.CollectionOfSPTypesReturnType)]
public Collection<SPRoleAssignment> RoleAssignments { get; }
Property Value
Type: System.Collections.ObjectModel.Collection<SPRoleAssignment>
A Collection<T> of SPRoleAssignment objects that represents the role assignments.