- LocationInfo record holds five location fields (SiteUrl, SiteTitle, ObjectTitle, ObjectUrl, ObjectType) - ConsolidatedPermissionEntry record holds key fields plus IReadOnlyList<LocationInfo> Locations - LocationCount computed property returns Locations.Count
14 lines
351 B
C#
14 lines
351 B
C#
namespace SharepointToolbox.Core.Models;
|
|
|
|
/// <summary>
|
|
/// Holds the five location-related fields extracted from a UserAccessEntry
|
|
/// when permission rows are merged into a consolidated entry.
|
|
/// </summary>
|
|
public record LocationInfo(
|
|
string SiteUrl,
|
|
string SiteTitle,
|
|
string ObjectTitle,
|
|
string ObjectUrl,
|
|
string ObjectType
|
|
);
|