Blog for more information
As the documentation here is quite lacking, I submit that you check out Martin Hatch's two-part blog series explaining the problem with large numbers of unique permissions and how to use this method (SPRoleAssignmentCollection.AddToCurrentScopeOnly) to resolve the issue: https://www.martinhatch.com/2011/10/scaling-to-10000-unique-permissions.html.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 60d1696d-8154-6c37-0094-abfe4682dac5
- Version Independent ID: 5869e4da-1fea-54c2-7209-a1e7f09008e0
- Content: SPRoleAssignmentCollection.AddToCurrentScopeOnly(SPRoleAssignment) Method (Microsoft.SharePoint)
- Content Source: sharepoint-server/xml/Microsoft.SharePoint/SPRoleAssignmentCollection.xml
- Product: sharepoint
- GitHub Login: @dotnet-bot
- Microsoft Alias: o365devx
I will close this issue for now since this more of a comment than an active issue, thanks!
Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues