Class ContentAclDB
Data access class to read and update content access information. This class supports the EPiServer infrastructure and is not intended to be used directly from your code.
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.DataAccess
Assembly: EPiServer.dll
Version: 8.11.0Syntax
[ServiceConfiguration]
public class ContentAclDB : DataAccessBase
Constructors
ContentAclDB(IDatabaseHandler)
This member supports the EPiServer infrastructure and is not intended to be used directly from your code.
Declaration
public ContentAclDB(IDatabaseHandler databaseHandler)
Parameters
Type | Name | Description |
---|---|---|
IDatabaseHandler | databaseHandler |
Methods
Delete(String, SecurityEntityType)
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)
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. |