Class IEditableSecurityDescriptorExtensions
Extension methods for the IEditableSecurityDescriptor interface.
Inheritance
System.Object
    IEditableSecurityDescriptorExtensions
  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: 7.19.2Syntax
public static class IEditableSecurityDescriptorExtensionsMethods
ToInherited(IEditableSecurityDescriptor)
Converts the security descriptor to inherited.
Declaration
public static void ToInherited(this IEditableSecurityDescriptor securityDescriptor)Parameters
| Type | Name | Description | 
|---|---|---|
| IEditableSecurityDescriptor | securityDescriptor | The security descriptor. | 
Exceptions
| Type | Condition | 
|---|---|
| System.ArgumentNullException | securityDescriptor | 
| System.ArgumentException | Cannot convert a security descriptor that's already inherited. | 
ToLocal(IEditableSecurityDescriptor)
Converts the security descriptor to local (not inherited) and copies all inherited entries.
Declaration
public static void ToLocal(this IEditableSecurityDescriptor securityDescriptor)Parameters
| Type | Name | Description | 
|---|---|---|
| IEditableSecurityDescriptor | securityDescriptor | The security descriptor. | 
Exceptions
| Type | Condition | 
|---|---|
| System.ArgumentNullException | securityDescriptor | 
| System.ArgumentException | Cannot convert a security descriptor that's not inherited. | 
ToLocal(IEditableSecurityDescriptor, Boolean)
Converts the security descriptor to local (not inherited) and copies all inherited entries if copyInheritedEntries is set to true.
Declaration
public static void ToLocal(this IEditableSecurityDescriptor securityDescriptor, bool copyInheritedEntries)Parameters
| Type | Name | Description | 
|---|---|---|
| IEditableSecurityDescriptor | securityDescriptor | The security descriptor. | 
| System.Boolean | copyInheritedEntries | if set to  | 
Exceptions
| Type | Condition | 
|---|---|
| System.ArgumentNullException | securityDescriptor | 
| System.ArgumentException | Cannot convert a security descriptor that's not inherited. | 
