Interface IRosterObjectListDAL
Interface to manage IRosterObjectListDAL data.
Namespace: Microsoft.GNS.Roster.DataAccess
Assembly: Microsoft.GNS.Roster.DataAccess.dll
Syntax
public interface IRosterObjectListDAL
Methods
View SourceDeleteObjectListsForParentAsync(Guid, Scope)
Deletes permission entity lists for a given parent.
Declaration
Task DeleteObjectListsForParentAsync(Guid parentId, Scope scope)
Parameters
Type | Name | Description |
---|---|---|
Guid | parentId | The parent object Id in which to delete object lists. |
Scope | scope | The scope of the object list parent. |
Returns
Type | Description |
---|---|
Task | A task representing the work to delete an object list. |
GetObjectListAsync(Guid, String, Scope)
Gets a reference list for permission entities.
Declaration
Task<IRosterObjectRefList> GetObjectListAsync(Guid parentId, string name, Scope scope)
Parameters
Type | Name | Description |
---|---|---|
Guid | parentId | The Id of the parent this list belongs to. |
System.String | name | The property name of the list in the parent object. |
Scope | scope | The Roster scope. |
Returns
Type | Description |
---|---|
Task<IRosterObjectRefList> | An object that represents a permission entity list. |
SaveObjectListAsync(IRosterObjectRefList)
Saves an object list.
Declaration
Task<IRosterObjectRefList> SaveObjectListAsync(IRosterObjectRefList list)
Parameters
Type | Name | Description |
---|---|---|
IRosterObjectRefList | list | The list to save. |
Returns
Type | Description |
---|---|
Task<IRosterObjectRefList> | The saved list. |