November Happy Hour will be moved to Thursday December 5th.

Class ContentAclDB

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice.

Inheritance
System.Object
ContentAclDB
Namespace: EPiServer.DataAccess.Internal
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
[ServiceConfiguration]
public class ContentAclDB : DataAccessBase

Constructors

ContentAclDB(IDatabaseExecutor, IContentCacheRemover, IContentCacheListingRemover, IPrincipalAccessor)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. This member supports the EPiServer infrastructure and is not intended to be used directly from your code.

Declaration
public ContentAclDB(IDatabaseExecutor databaseHandler, IContentCacheRemover contentCacheRemover, IContentCacheListingRemover contentCacheListingRemover, IPrincipalAccessor principalAccessor)
Parameters
Type Name Description
IDatabaseExecutor databaseHandler
IContentCacheRemover contentCacheRemover
IContentCacheListingRemover contentCacheListingRemover
IPrincipalAccessor principalAccessor

Methods

Delete(String, SecurityEntityType)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Deletes all acl on content and subcontents on a specific membership user or role. This member supports the EPiServer infrastructure and is not intended to be used directly from your code.

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

Name of the user or role.

SecurityEntityType entity

The entity.

Save(ContentReference, IContentSecurityDescriptor, SecuritySaveType)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Saves the specified content security descriptor.

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

The content link.

IContentSecurityDescriptor contentSecurityDescriptor

The content security descriptor.

SecuritySaveType securitySaveType

Type of the security save.

Extension Methods