using SharepointToolbox.Core.Helpers; namespace SharepointToolbox.Core.Models; /// /// Resolved target for a SharePoint system group (Limited Access For Web/List or SharingLinks). /// Carries the human-readable label, the navigable URL, and (for sharing links) the link type /// so the export layer can render a clickable link in the Granted Through cell. /// public record SystemGroupTarget( SystemGroupKind Kind, string Label, // e.g. "MyList" | "Shared Documents/Folder/File.docx" | "Site - HR" string Url, // Navigable URL of the targeted resource string? LinkType = null // For SharingLinks: "OrganizationEdit", "AnonymousView", etc. );