Interface IEditableSecurityDescriptor

Describes a security descriptor that can be edited.

Namespace: EPiServer.Security
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public interface IEditableSecurityDescriptor : ISecurityDescriptor, IReadOnly

Properties

Creator

Gets or sets the identity of the creator of the object that this instance describes.

Declaration
string Creator { get; set; }
Property Value
Type Description
System.String

Entries

Gets all the access control entries in this security descriptor instance.

Declaration
IEnumerable<AccessControlEntry> Entries { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<AccessControlEntry>
Remarks

If this descriptor is inherited and the parent implements the IEditableSecurityDescriptor interface, the inherited entries will be returned.

IsInherited

Gets or sets a value indicating whether this descriptor inherits it's entries from another instance.

Declaration
bool IsInherited { get; set; }
Property Value
Type Description
System.Boolean

true if this instance is inherited; otherwise, false.

Methods

AddEntry(AccessControlEntry)

Adds the provided access control entry to this security descriptor instance.

Declaration
void AddEntry(AccessControlEntry accessControlEntry)
Parameters
Type Name Description
AccessControlEntry accessControlEntry

The access control entry to add.

Clear()

Clears the Creator property an all entries from this security descriptor instance.

Declaration
void Clear()

RemoveEntry(AccessControlEntry)

Removes the provided access control entry from this security descriptor instance.

Declaration
void RemoveEntry(AccessControlEntry accessControlEntry)
Parameters
Type Name Description
AccessControlEntry accessControlEntry

The access control entry to remove.

Extension Methods