Class ContentAccessControlList
Implementation of AccessControlList for content
Implements
Inherited Members
Namespace: EPiServer.Security
Assembly: EPiServer.dll
Version: 12.0.3Syntax
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
ContentLink
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.