Table of Contents

Interface ISharePointGroupCollection

Namespace
PnP.Core.Model.Security
Assembly
PnP.Core.dll

Public interface to define a collection of SharePoint groups

public interface ISharePointGroupCollection : IQueryable<ISharePointGroup>, IQueryable, IAsyncEnumerable<ISharePointGroup>, IDataModelCollection<ISharePointGroup>, IEnumerable<ISharePointGroup>, IEnumerable, IDataModelParent, IDataModelWithContext, IRequestableCollection, IDataModelCollectionLoad<ISharePointGroup>, ISupportModules<ISharePointGroupCollection>
Inherited Members
Extension Methods

Methods

Add(string)

Adds a new group

ISharePointGroup Add(string name)

Parameters

name string

Name of the new group to add

Returns

ISharePointGroup

AddAsync(string)

Adds a new group

Task<ISharePointGroup> AddAsync(string name)

Parameters

name string

Name of the new group to add

Returns

Task<ISharePointGroup>

AddBatch(Batch, string)

Adds a new group

ISharePointGroup AddBatch(Batch batch, string name)

Parameters

batch Batch

Batch to add the request to

name string

Name of the new group to add

Returns

ISharePointGroup

AddBatch(string)

Adds a new group

ISharePointGroup AddBatch(string name)

Parameters

name string

Name of the new group to add

Returns

ISharePointGroup

AddBatchAsync(Batch, string)

Adds a new group

Task<ISharePointGroup> AddBatchAsync(Batch batch, string name)

Parameters

batch Batch

Batch to add the request to

name string

Name of the new group to add

Returns

Task<ISharePointGroup>

AddBatchAsync(string)

Adds a new group

Task<ISharePointGroup> AddBatchAsync(string name)

Parameters

name string

Name of the new group to add

Returns

Task<ISharePointGroup>