Search Results for

    Show / Hide Table of Contents

    Class CommonObjectSecurity

    Inheritance
    System.Object
    ObjectSecurity
    CommonObjectSecurity
    NativeObjectSecurity
    Inherited Members
    ObjectSecurity.AccessRuleFactory(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AccessControlType)
    ObjectSecurity.AuditRuleFactory(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AuditFlags)
    ObjectSecurity.GetGroup(Type)
    ObjectSecurity.GetOwner(Type)
    ObjectSecurity.GetSecurityDescriptorBinaryForm()
    ObjectSecurity.GetSecurityDescriptorSddlForm(AccessControlSections)
    ObjectSecurity.IsSddlConversionSupported()
    ObjectSecurity.ModifyAccessRule(AccessControlModification, AccessRule, Boolean)
    ObjectSecurity.ModifyAuditRule(AccessControlModification, AuditRule, Boolean)
    ObjectSecurity.Persist(Boolean, String, AccessControlSections)
    ObjectSecurity.Persist(SafeHandle, AccessControlSections)
    ObjectSecurity.Persist(String, AccessControlSections)
    ObjectSecurity.PurgeAccessRules(IdentityReference)
    ObjectSecurity.PurgeAuditRules(IdentityReference)
    ObjectSecurity.ReadLock()
    ObjectSecurity.ReadUnlock()
    ObjectSecurity.SetAccessRuleProtection(Boolean, Boolean)
    ObjectSecurity.SetAuditRuleProtection(Boolean, Boolean)
    ObjectSecurity.SetGroup(IdentityReference)
    ObjectSecurity.SetOwner(IdentityReference)
    ObjectSecurity.SetSecurityDescriptorBinaryForm(Byte[])
    ObjectSecurity.SetSecurityDescriptorBinaryForm(Byte[], AccessControlSections)
    ObjectSecurity.SetSecurityDescriptorSddlForm(String)
    ObjectSecurity.SetSecurityDescriptorSddlForm(String, AccessControlSections)
    ObjectSecurity.WriteLock()
    ObjectSecurity.WriteUnlock()
    ObjectSecurity.AccessRightType
    ObjectSecurity.AccessRulesModified
    ObjectSecurity.AccessRuleType
    ObjectSecurity.AreAccessRulesCanonical
    ObjectSecurity.AreAccessRulesProtected
    ObjectSecurity.AreAuditRulesCanonical
    ObjectSecurity.AreAuditRulesProtected
    ObjectSecurity.AuditRulesModified
    ObjectSecurity.AuditRuleType
    ObjectSecurity.GroupModified
    ObjectSecurity.IsContainer
    ObjectSecurity.IsDS
    ObjectSecurity.OwnerModified
    ObjectSecurity.SecurityDescriptor
    Namespace: System.Security.AccessControl
    Assembly: IronZip.dll
    Syntax
    public abstract class CommonObjectSecurity : ObjectSecurity

    Constructors

    CommonObjectSecurity(Boolean)

    Declaration
    protected CommonObjectSecurity(bool isContainer)
    Parameters
    Type Name Description
    System.Boolean isContainer

    Methods

    AddAccessRule(AccessRule)

    Declaration
    protected void AddAccessRule(AccessRule rule)
    Parameters
    Type Name Description
    AccessRule rule

    AddAuditRule(AuditRule)

    Declaration
    protected void AddAuditRule(AuditRule rule)
    Parameters
    Type Name Description
    AuditRule rule

    GetAccessRules(Boolean, Boolean, Type)

    Declaration
    public AuthorizationRuleCollection GetAccessRules(bool includeExplicit, bool includeInherited, Type targetType)
    Parameters
    Type Name Description
    System.Boolean includeExplicit
    System.Boolean includeInherited
    System.Type targetType
    Returns
    Type Description
    AuthorizationRuleCollection

    GetAuditRules(Boolean, Boolean, Type)

    Declaration
    public AuthorizationRuleCollection GetAuditRules(bool includeExplicit, bool includeInherited, Type targetType)
    Parameters
    Type Name Description
    System.Boolean includeExplicit
    System.Boolean includeInherited
    System.Type targetType
    Returns
    Type Description
    AuthorizationRuleCollection

    ModifyAccess(AccessControlModification, AccessRule, out Boolean)

    Declaration
    protected override bool ModifyAccess(AccessControlModification modification, AccessRule rule, out bool modified)
    Parameters
    Type Name Description
    AccessControlModification modification
    AccessRule rule
    System.Boolean modified
    Returns
    Type Description
    System.Boolean
    Overrides
    ObjectSecurity.ModifyAccess(AccessControlModification, AccessRule, out Boolean)

    ModifyAudit(AccessControlModification, AuditRule, out Boolean)

    Declaration
    protected override bool ModifyAudit(AccessControlModification modification, AuditRule rule, out bool modified)
    Parameters
    Type Name Description
    AccessControlModification modification
    AuditRule rule
    System.Boolean modified
    Returns
    Type Description
    System.Boolean
    Overrides
    ObjectSecurity.ModifyAudit(AccessControlModification, AuditRule, out Boolean)

    RemoveAccessRule(AccessRule)

    Declaration
    protected bool RemoveAccessRule(AccessRule rule)
    Parameters
    Type Name Description
    AccessRule rule
    Returns
    Type Description
    System.Boolean

    RemoveAccessRuleAll(AccessRule)

    Declaration
    protected void RemoveAccessRuleAll(AccessRule rule)
    Parameters
    Type Name Description
    AccessRule rule

    RemoveAccessRuleSpecific(AccessRule)

    Declaration
    protected void RemoveAccessRuleSpecific(AccessRule rule)
    Parameters
    Type Name Description
    AccessRule rule

    RemoveAuditRule(AuditRule)

    Declaration
    protected bool RemoveAuditRule(AuditRule rule)
    Parameters
    Type Name Description
    AuditRule rule
    Returns
    Type Description
    System.Boolean

    RemoveAuditRuleAll(AuditRule)

    Declaration
    protected void RemoveAuditRuleAll(AuditRule rule)
    Parameters
    Type Name Description
    AuditRule rule

    RemoveAuditRuleSpecific(AuditRule)

    Declaration
    protected void RemoveAuditRuleSpecific(AuditRule rule)
    Parameters
    Type Name Description
    AuditRule rule

    ResetAccessRule(AccessRule)

    Declaration
    protected void ResetAccessRule(AccessRule rule)
    Parameters
    Type Name Description
    AccessRule rule

    SetAccessRule(AccessRule)

    Declaration
    protected void SetAccessRule(AccessRule rule)
    Parameters
    Type Name Description
    AccessRule rule

    SetAuditRule(AuditRule)

    Declaration
    protected void SetAuditRule(AuditRule rule)
    Parameters
    Type Name Description
    AuditRule rule

    Inherited members

    AccessRuleFactory(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AccessControlType)
    AuditRuleFactory(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AuditFlags)
    GetGroup(Type)
    GetOwner(Type)
    GetSecurityDescriptorBinaryForm()
    GetSecurityDescriptorSddlForm(AccessControlSections)
    IsSddlConversionSupported()
    ModifyAccessRule(AccessControlModification, AccessRule, Boolean)
    ModifyAuditRule(AccessControlModification, AuditRule, Boolean)
    Persist(Boolean, String, AccessControlSections)
    Persist(SafeHandle, AccessControlSections)
    Persist(String, AccessControlSections)
    PurgeAccessRules(IdentityReference)
    PurgeAuditRules(IdentityReference)
    ReadLock()
    ReadUnlock()
    SetAccessRuleProtection(Boolean, Boolean)
    SetAuditRuleProtection(Boolean, Boolean)
    SetGroup(IdentityReference)
    SetOwner(IdentityReference)
    SetSecurityDescriptorBinaryForm(Byte[])
    SetSecurityDescriptorBinaryForm(Byte[], AccessControlSections)
    SetSecurityDescriptorSddlForm(String)
    SetSecurityDescriptorSddlForm(String, AccessControlSections)
    WriteLock()
    WriteUnlock()
    AccessRightType
    AccessRulesModified
    AccessRuleType
    AreAccessRulesCanonical
    AreAccessRulesProtected
    AreAuditRulesCanonical
    AreAuditRulesProtected
    AuditRulesModified
    AuditRuleType
    GroupModified
    IsContainer
    IsDS
    OwnerModified
    SecurityDescriptor
    ☀
    ☾
    Downloads
    • Download with NuGet
    • Start for Free
    In This Article
    Back to top
    Install with NuGet
    Want to deploy IronZIP to a live project for FREE?
    What’s included?
    30 days of fully-functional product
    Test and share in a live environment
    No watermarks in production
    Get your free 30-day Trial Key instantly.
    No credit card or account creation required
    Your Trial License Key has been emailed to you.
    Download IronZIP free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.