TITcs.SharePoint.Libs by Stiven F. Câmara

<PackageReference Include="TITcs.SharePoint.Libs" Version="1.0.0" />

.NET API 60,016,200 bytes

 SPPermissionCollection

public bool Inherited { get; }

public SPPermission this[SPMember member] { get; }

public SPPermission this[int index] { get; }

public object Parent { get; }

public bool RequestAccess { get; set; }

public string RequestAccessEmail { get; set; }

public string Xml { get; }

public string Xml2 { get; }

public void Add(SPMember member, SPRights permissionMask)

public void AddCollection(SPUserInfo[] addUsersInfo, SPRights[] addUsersPermissions, string[] addGroupsNames, SPRights[] addGroupsPermissions, string[] addRolesNames, SPRights[] addRolesPermissions)

public void CheckPermissions(SPRights permissionMask)

public bool DoesUserHavePermissions(SPRights permissionMask)

public void Remove(SPMember member)

public void Remove(int index)

public void RemoveCollection(int[] removeIds)

public void ResetPermissions()