With Opticon around the corner, we'll be canceling this month's (Sept) Happy Hour.

Class CatalogContentAccessControlListDB

This type/member supports the EPiServer infrastructure and is not intended to be used directly from your code.

Represents Database access class to manipulate Catalog content access list.

Inheritance
System.Object
CatalogContentAccessControlListDB
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Commerce.Catalog.DataAccess.Internal
Assembly: EPiServer.Business.Commerce.dll
Version: 13.30.0
Syntax
public class CatalogContentAccessControlListDB

Constructors

CatalogContentAccessControlListDB(IConnectionStringHandler, IContentCacheRemover, IContentCacheListingRemover, ReferenceConverter, IPrincipalAccessor)

Initializes a new instance of the CatalogContentAccessControlListDB class.

Declaration
public CatalogContentAccessControlListDB(IConnectionStringHandler connectionStringHandler, IContentCacheRemover contentCacheRemover, IContentCacheListingRemover contentCacheListingRemover, ReferenceConverter referenceConverter, IPrincipalAccessor principalAccessor)
Parameters
Type Name Description
IConnectionStringHandler connectionStringHandler

The connection string handler.

EPiServer.IContentCacheRemover contentCacheRemover

The content cache remover.

EPiServer.Core.IContentCacheListingRemover contentCacheListingRemover

The content cache listing remover.

ReferenceConverter referenceConverter

The reference converter.

EPiServer.Security.IPrincipalAccessor principalAccessor

The principal accessors.

Methods

DeleteByUserOrRole(String, SecurityEntityType)

Deletes all ACLs on catalog content and sub contents on a specific membership user or role.

Declaration
public virtual void DeleteByUserOrRole(string userOrRoleName, SecurityEntityType entity)
Parameters
Type Name Description
System.String userOrRoleName

Name of the user or role.

EPiServer.Security.SecurityEntityType entity

The entity.

List(IEnumerable<ContentReference>)

Gets the access descriptors for catalog contents.

Declaration
public virtual IEnumerable<ContentAccessControlList> List(IEnumerable<ContentReference> contentLinks)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<EPiServer.Core.ContentReference> contentLinks

The content link collection.

Returns
Type Description
System.Collections.Generic.IEnumerable<EPiServer.Security.ContentAccessControlList>

The content security descriptor collection.

Save(ContentReference, IContentSecurityDescriptor, SecuritySaveType)

Saves the specified content security descriptor.

Declaration
public virtual void Save(ContentReference contentLink, IContentSecurityDescriptor contentSecurityDescriptor, SecuritySaveType securitySaveType)
Parameters
Type Name Description
EPiServer.Core.ContentReference contentLink

The content link.

EPiServer.Security.IContentSecurityDescriptor contentSecurityDescriptor

The content security descriptor.

EPiServer.Security.SecuritySaveType securitySaveType

Type of the security save.