namespace SharepointToolbox.Web.Core.Models; public record ConsolidatedPermissionEntry( string UserDisplayName, string UserLogin, string PermissionLevel, AccessType AccessType, string GrantedThrough, bool IsHighPrivilege, bool IsExternalUser, IReadOnlyList Locations, string? TargetUrl = null, string? TargetLabel = null, string? SharingLinkType = null ) { public int LocationCount => Locations.Count; }