Table of Contents

Interface IPermissionGrant2

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

An oauth2 permission granted on the SharePoint Online Client Extensibility Web Application Principal

public interface IPermissionGrant2

Properties

ClientId

ClientId of the SharePoint Online Client Extensibility Web Application Principal

string ClientId { get; set; }

Property Value

string

ConsentType

Consent Type, e.g. AllPrincipals

string ConsentType { get; set; }

Property Value

string

ExpiryTime

Expires after

DateTime ExpiryTime { get; set; }

Property Value

DateTime

Id

Grant Id

string Id { get; set; }

Property Value

string

ResourceId

Id of the granted resource

string ResourceId { get; set; }

Property Value

string

ResourceName

Name of the granted resource

string ResourceName { get; set; }

Property Value

string

Scope

List of scopes granted, separated by spaces, e.g. "Sites.Selected User.ReadBasic.All"

string Scope { get; set; }

Property Value

string

StartTime

Not valid before

DateTime StartTime { get; set; }

Property Value

DateTime