Interface IPnPContextExtensions
Extends the PnPContext with additional functionality
Namespace: PnP.Core.Services
Assembly: PnP.Core.Admin.dll
Syntax
public interface IPnPContextExtensions
Methods
GetMicrosoft365Admin(IPnPContext)
Extends a IPnPContext with Microsoft 365 admin functionality
Declaration
IMicrosoft365Admin GetMicrosoft365Admin(IPnPContext context)
Parameters
IPnPContext
context
IPnPContext to extend |
Returns
IMicrosoft365Admin
An IMicrosoft365Admin instance enabling Microsoft 365 admin operations |
GetSharePointAdmin(IPnPContext)
GetSiteCollectionAppManager(IPnPContext)
Extends a IPnPContext with site collection Application Lifecycle Management (ALM) functionality
Declaration
ISiteCollectionAppManager GetSiteCollectionAppManager(IPnPContext context)
Parameters
IPnPContext
context
IPnPContext to extend |
Returns
ISiteCollectionAppManager
An ISiteCollectionAppManager instance enabling site collection app catalog operations |
GetSiteCollectionManager(IPnPContext)
Extends a IPnPContext with site collection admin functionality
Declaration
ISiteCollectionManager GetSiteCollectionManager(IPnPContext context)
Parameters
IPnPContext
context
IPnPContext to extend |
Returns
ISiteCollectionManager
An ISiteCollectionManager instance enabling site collection admin operations |
GetTeamManager(IPnPContext)
Extends a IPnPContext with Teams admin functionality
Declaration
ITeamManager GetTeamManager(IPnPContext context)
Parameters
IPnPContext
context
IPnPContext to extend |
Returns
ITeamManager
An ISiteCollectionManager instance enabling site collection admin operations |
GetTenantAppManager(IPnPContext)
Extends a IPnPContext with tenant Application Lifecycle Management (ALM) functionality
Declaration
ITenantAppManager GetTenantAppManager(IPnPContext context)
Parameters
IPnPContext
context
IPnPContext to extend |
Returns
ITenantAppManager
An ITenantAppManager instance enabling tenant app catalog operations |