Table of Contents

Interface ILegacyPrincipal

Namespace
PnP.Core.Admin.Model.SharePoint
Assembly
PnP.Core.Admin.dll

Defines a legacy principal used by either Azure ACS or SharePoint AddIns

public interface ILegacyPrincipal

Properties

AbsoluteUrl

The absolute url of the IWeb where the legacy principal is located

string AbsoluteUrl { get; }

Property Value

string

AllowAppOnly

Can this legacy principal use app-only (application permissions)?

bool AllowAppOnly { get; }

Property Value

bool

AppIdentifier

Identifier of the legacy principal

string AppIdentifier { get; }

Property Value

string

ServerRelativeUrl

The server relative url of the IWeb where the legacy principal is located

string ServerRelativeUrl { get; }

Property Value

string

SiteCollectionScopedPermissions

List of site collection scoped permissions for this legacy principal

IEnumerable<ILegacySiteCollectionPermission> SiteCollectionScopedPermissions { get; }

Property Value

IEnumerable<ILegacySiteCollectionPermission>

TenantScopedPermissions

List of tenant scoped permissions for this legacy principal

IEnumerable<ILegacyTenantPermission> TenantScopedPermissions { get; }

Property Value

IEnumerable<ILegacyTenantPermission>

Title

Title of the legacy principal

string Title { get; }

Property Value

string