Search Results for

    Show / Hide Table of Contents

    Class CommonSecurityDescriptor

    Inheritance
    System.Object
    GenericSecurityDescriptor
    CommonSecurityDescriptor
    Inherited Members
    GenericSecurityDescriptor.GetBinaryForm(Byte[], Int32)
    GenericSecurityDescriptor.GetSddlForm(AccessControlSections)
    GenericSecurityDescriptor.IsSddlConversionSupported()
    GenericSecurityDescriptor.BinaryLength
    GenericSecurityDescriptor.Revision
    Namespace: System.Security.AccessControl
    Assembly: IronZip.dll
    Syntax
    public sealed class CommonSecurityDescriptor : GenericSecurityDescriptor

    Constructors

    CommonSecurityDescriptor(Boolean, Boolean, Byte[], Int32)

    Declaration
    public CommonSecurityDescriptor(bool isContainer, bool isDS, byte[] binaryForm, int offset)
    Parameters
    Type Name Description
    System.Boolean isContainer
    System.Boolean isDS
    System.Byte[] binaryForm
    System.Int32 offset

    CommonSecurityDescriptor(Boolean, Boolean, ControlFlags, SecurityIdentifier, SecurityIdentifier, SystemAcl, DiscretionaryAcl)

    Declaration
    public CommonSecurityDescriptor(bool isContainer, bool isDS, ControlFlags flags, SecurityIdentifier owner, SecurityIdentifier group, SystemAcl systemAcl, DiscretionaryAcl discretionaryAcl)
    Parameters
    Type Name Description
    System.Boolean isContainer
    System.Boolean isDS
    ControlFlags flags
    SecurityIdentifier owner
    SecurityIdentifier group
    SystemAcl systemAcl
    DiscretionaryAcl discretionaryAcl

    CommonSecurityDescriptor(Boolean, Boolean, RawSecurityDescriptor)

    Declaration
    public CommonSecurityDescriptor(bool isContainer, bool isDS, RawSecurityDescriptor rawSecurityDescriptor)
    Parameters
    Type Name Description
    System.Boolean isContainer
    System.Boolean isDS
    RawSecurityDescriptor rawSecurityDescriptor

    CommonSecurityDescriptor(Boolean, Boolean, String)

    Declaration
    public CommonSecurityDescriptor(bool isContainer, bool isDS, string sddlForm)
    Parameters
    Type Name Description
    System.Boolean isContainer
    System.Boolean isDS
    System.String sddlForm

    Properties

    ControlFlags

    Declaration
    public override ControlFlags ControlFlags { get; }
    Property Value
    Type Description
    ControlFlags
    Overrides
    GenericSecurityDescriptor.ControlFlags

    DiscretionaryAcl

    Declaration
    public DiscretionaryAcl DiscretionaryAcl { get; set; }
    Property Value
    Type Description
    DiscretionaryAcl

    Group

    Declaration
    public override SecurityIdentifier Group { get; set; }
    Property Value
    Type Description
    SecurityIdentifier
    Overrides
    GenericSecurityDescriptor.Group

    IsContainer

    Declaration
    public bool IsContainer { get; }
    Property Value
    Type Description
    System.Boolean

    IsDiscretionaryAclCanonical

    Declaration
    public bool IsDiscretionaryAclCanonical { get; }
    Property Value
    Type Description
    System.Boolean

    IsDS

    Declaration
    public bool IsDS { get; }
    Property Value
    Type Description
    System.Boolean

    IsSystemAclCanonical

    Declaration
    public bool IsSystemAclCanonical { get; }
    Property Value
    Type Description
    System.Boolean

    Owner

    Declaration
    public override SecurityIdentifier Owner { get; set; }
    Property Value
    Type Description
    SecurityIdentifier
    Overrides
    GenericSecurityDescriptor.Owner

    SystemAcl

    Declaration
    public SystemAcl SystemAcl { get; set; }
    Property Value
    Type Description
    SystemAcl

    Methods

    AddDiscretionaryAcl(Byte, Int32)

    Declaration
    public void AddDiscretionaryAcl(byte revision, int trusted)
    Parameters
    Type Name Description
    System.Byte revision
    System.Int32 trusted

    AddSystemAcl(Byte, Int32)

    Declaration
    public void AddSystemAcl(byte revision, int trusted)
    Parameters
    Type Name Description
    System.Byte revision
    System.Int32 trusted

    PurgeAccessControl(SecurityIdentifier)

    Declaration
    public void PurgeAccessControl(SecurityIdentifier sid)
    Parameters
    Type Name Description
    SecurityIdentifier sid

    PurgeAudit(SecurityIdentifier)

    Declaration
    public void PurgeAudit(SecurityIdentifier sid)
    Parameters
    Type Name Description
    SecurityIdentifier sid

    SetDiscretionaryAclProtection(Boolean, Boolean)

    Declaration
    public void SetDiscretionaryAclProtection(bool isProtected, bool preserveInheritance)
    Parameters
    Type Name Description
    System.Boolean isProtected
    System.Boolean preserveInheritance

    SetSystemAclProtection(Boolean, Boolean)

    Declaration
    public void SetSystemAclProtection(bool isProtected, bool preserveInheritance)
    Parameters
    Type Name Description
    System.Boolean isProtected
    System.Boolean preserveInheritance

    Inherited members

    GetBinaryForm(Byte[], Int32)
    GetSddlForm(AccessControlSections)
    IsSddlConversionSupported()
    BinaryLength
    Revision
    ☀
    ☾
    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.