The following table lists the methods of the SP.RoleAssignmentCollection class.
Adds a new role assignment with the specified principal and role definitions to the collection.
Gets the role assignment associated with the specified user or group from the collection.
Gets the role assignment associated with the specified principal ID.
Gets the role assignment at the specified index in the collection.
This member is reserved for internal use and is not intended to be used directly from your code.