Class CatalogContentAccessControlManager
This type/member supports the EPiServer infrastructure and is not intended to be used directly from your code.
Populates the access control list information for catalog content.
Inheritance
Namespace: EPiServer.Commerce.Catalog.Provider.Construction.Internal
Assembly: EPiServer.Business.Commerce.dll
Version: 14.26.0Syntax
public class CatalogContentAccessControlManager : Object
Constructors
CatalogContentAccessControlManager(CatalogContentAccessControlListDB)
Initializes a new instance of the CatalogContentAccessControlManager class.
Declaration
public CatalogContentAccessControlManager(CatalogContentAccessControlListDB catalogContentAclDb)
Parameters
Type | Name | Description |
---|---|---|
CatalogContentAccessControlListDB | catalogContentAclDb | The default implementation. |
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 entityUserRole)
Parameters
Type | Name | Description |
---|---|---|
System.String | userOrRoleName | Name of the user or role. |
EPiServer.Security.SecurityEntityType | entityUserRole | The entity. |
PopulateAccessControlList(IEnumerable<NodeContentBase>)
Populates access control list for node contents.
Declaration
public virtual void PopulateAccessControlList(IEnumerable<NodeContentBase> contents)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<NodeContentBase> | contents | The node contents. |
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. |