Interface ISharePointUserCollection
Public interface to define a collection of SharePoint users
Assembly: PnP.Core.dll
Syntax
public interface ISharePointUserCollection : IDataModelCollection<ISharePointUser>, IDataModelParent, IDataModelWithContext, IRequestableCollection, IDataModelCollectionLoad<ISharePointUser>, ISupportModules<ISharePointUserCollection>
Methods
Declaration
ISharePointUser Add(string userLoginName)
Parameters
System.String
userLoginName
login name of user to add e.g. "i:0#.f|membership|user@domain.com"
|
Returns
Declaration
Task<ISharePointUser> AddAsync(string userLoginName)
Parameters
System.String
userLoginName
login name of user to add e.g. "i:0#.f|membership|user@domain.com"
|
Returns
Declaration
ISharePointUser AddBatch(Batch batch, string userLoginName)
Parameters
Batch
batch
Batch to add the request to
|
System.String
userLoginName
login name of user to add e.g. "i:0#.f|membership|user@domain.com"
|
Returns
Declaration
ISharePointUser AddBatch(string userLoginName)
Parameters
System.String
userLoginName
login name of user to add e.g. "i:0#.f|membership|user@domain.com"
|
Returns
Declaration
Task<ISharePointUser> AddBatchAsync(Batch batch, string userLoginName)
Parameters
Batch
batch
Batch to add the request to
|
System.String
userLoginName
login name of user to add e.g. "i:0#.f|membership|user@domain.com"
|
Returns
Declaration
Task<ISharePointUser> AddBatchAsync(string userLoginName)
Parameters
System.String
userLoginName
login name of user to add e.g. "i:0#.f|membership|user@domain.com"
|
Returns
Extension Methods