16 lines
706 B
C#
16 lines
706 B
C#
using SharepointToolbox.Core.Helpers;
|
|
|
|
namespace SharepointToolbox.Core.Models;
|
|
|
|
/// <summary>
|
|
/// 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.
|
|
/// </summary>
|
|
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.
|
|
);
|