Try our conversational search powered by Generative AI!

Class ContentAccessControlList

Implementation of AccessControlList for content

Inheritance
System.Object
ContentAccessControlList
Implements
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.String, AccessControlEntry>>
System.Collections.IEnumerable
System.Xml.Serialization.IXmlSerializable
System.IEquatable<AccessControlList>
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.Security
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public class ContentAccessControlList : AccessControlList, IEnumerable<KeyValuePair<string, AccessControlEntry>>, IEnumerable, IReadOnly<AccessControlList>, IXmlSerializable, IModifiedTrackable, IEquatable<AccessControlList>, IContentSecurityDescriptor, IEditableSecurityDescriptor, ISecurityDescriptor, IReadOnly

Constructors

ContentAccessControlList()

Initializes a new instance of the ContentAccessControlList class.

Declaration
public ContentAccessControlList()

ContentAccessControlList(ContentReference)

Initializes a new instance of the ContentAccessControlList class.

Declaration
public ContentAccessControlList(ContentReference contentLink)
Parameters
Type Name Description
ContentReference contentLink

The content link.

ContentAccessControlList(ContentReference, AccessControlList)

Initializes a new instance of the ContentAccessControlList class.

Declaration
public ContentAccessControlList(ContentReference contentLink, AccessControlList list)
Parameters
Type Name Description
ContentReference contentLink

The content link.

AccessControlList list

The list.

ContentAccessControlList(RawACE[])

Initializes a new instance of the ContentAccessControlList class.

Declaration
public ContentAccessControlList(RawACE[] acl)
Parameters
Type Name Description
RawACE[] acl

The acl.

Properties

Gets or sets the content link that this instance is describing.

Declaration
public virtual ContentReference ContentLink { get; set; }
Property Value
Type Description
ContentReference

Methods

Copy()

Creates a copy of the current instance.

Declaration
public override AccessControlList Copy()
Returns
Type Description
AccessControlList

A new AccessControlList.

Overrides

CreateWritableClone()

Creates a writable clone of the current ContentAccessControlList instance.

Declaration
public ContentAccessControlList CreateWritableClone()
Returns
Type Description
ContentAccessControlList

A writable copy of the current instance.

GetParentSecurityDescriptor()

Retrieves the security descriptor that this instance would inherited should it be set to inherited.

Declaration
protected override ISecurityDescriptor GetParentSecurityDescriptor()
Returns
Type Description
ISecurityDescriptor

The security descriptor that the current instance can inherit from.

Overrides
Remarks

Implementors of this method should have their own caching in place, this method may be called a lot and does not store the results in a local variable.

Save(SecuritySaveType)

Saves the specified type.

Declaration
[Obsolete("Use IContentSecurityRepository to save changes to ACL")]
public override void Save(SecuritySaveType type)
Parameters
Type Name Description
SecuritySaveType type

The type.

Overrides

Implements

System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
System.Xml.Serialization.IXmlSerializable
System.IEquatable<T>

Extension Methods