Class SecurityListDAL
Interface to manage ISecurityListDAL data.
Inheritance
Implements
Namespace: Microsoft.GNS.Roster.DataAccess
Assembly: Microsoft.GNS.Roster.DataAccess.dll
Syntax
public class SecurityListDAL : object, ISecurityListDAL
Constructors
View SourceSecurityListDAL(IBaseObjectListDAL<IPermissionEntityRefList, IPermissionEntityRef>, IBaseObjectListDAL<IRosterPrincipalRefList, String>)
Initializes a new instance of the SecurityListDAL class.
Declaration
public SecurityListDAL(IBaseObjectListDAL<IPermissionEntityRefList, IPermissionEntityRef> permissionEntityRefListDal, IBaseObjectListDAL<IRosterPrincipalRefList, string> rosterPrincipalRefListDal)
Parameters
Type | Name | Description |
---|---|---|
IBaseObjectListDAL<IPermissionEntityRefList, IPermissionEntityRef> | permissionEntityRefListDal | Object list DAL for IPermissionEntityRefList. |
IBaseObjectListDAL<IRosterPrincipalRefList, System.String> | rosterPrincipalRefListDal | Object list DAL for IRosterPrincipalRefList. |
Methods
View SourceDeletePermissionsListsForParentAsync(Guid, Scope)
Deletes permission entity lists for a given parent.
Declaration
public Task DeletePermissionsListsForParentAsync(Guid parentId, Scope scope)
Parameters
Type | Name | Description |
---|---|---|
Guid | parentId | The parent object Id in which to delete permissions entity lists. |
Scope | scope | The scope of the security list parent. |
Returns
Type | Description |
---|---|
Task | A task representing the work to delete a permissions entity list. |
DeletePrincipalListsForParentAsync(Guid, Scope)
Deletes principal entity lists for a given parent.
Declaration
public Task DeletePrincipalListsForParentAsync(Guid parentId, Scope scope)
Parameters
Type | Name | Description |
---|---|---|
Guid | parentId | The parent object Id in which to delete principal lists. |
Scope | scope | The scope of the principal list parent. |
Returns
Type | Description |
---|---|
Task | A task representing the work to delete a principal list. |
GetPermissionsListAsync(Guid, String, Scope)
Gets a reference list for permission entities.
Declaration
public async Task<IPermissionEntityRefList> GetPermissionsListAsync(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<IPermissionEntityRefList> | An object that represents a permission entity list. |
GetPrincipalListAsync(Guid, String, Scope)
Gets a principal list.
Declaration
public async Task<IRosterPrincipalRefList> GetPrincipalListAsync(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<IRosterPrincipalRefList> | An object that represents a principal list. |
SavePermissionsListAsync(IPermissionEntityRefList)
Saves a permission entity list.
Declaration
public Task<IPermissionEntityRefList> SavePermissionsListAsync(IPermissionEntityRefList list)
Parameters
Type | Name | Description |
---|---|---|
IPermissionEntityRefList | list | The list to save. |
Returns
Type | Description |
---|---|
Task<IPermissionEntityRefList> | The saved list. |
SavePrincipalListAsync(IRosterPrincipalRefList)
Saves a principal list.
Declaration
public Task<IRosterPrincipalRefList> SavePrincipalListAsync(IRosterPrincipalRefList list)
Parameters
Type | Name | Description |
---|---|---|
IRosterPrincipalRefList | list | The list to save. |
Returns
Type | Description |
---|---|
Task<IRosterPrincipalRefList> | The saved list. |