Class SecurityListDAL
Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.
Implements
Inherited Members
Namespace: Microsoft.GNS.Roster.DataAccess
Assembly: Microsoft.GNS.Roster.DataAccess.dll
Syntax
public class SecurityListDAL : ISecurityListDALConstructors
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, 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 Task<IPermissionEntityRefList> GetPermissionsListAsync(Guid parentId, string name, Scope scope)Parameters
| Type | Name | Description | 
|---|---|---|
| Guid | parentId | The Id of the parent this list belongs to. | 
| 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 Task<IRosterPrincipalRefList> GetPrincipalListAsync(Guid parentId, string name, Scope scope)Parameters
| Type | Name | Description | 
|---|---|---|
| Guid | parentId | The Id of the parent this list belongs to. | 
| 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. |