Export (0) Print
Expand All

CommonSecurityDescriptor Members

Represents a security descriptor. A security descriptor includes an owner, a primary group, a Discretionary Access Control List (DACL), and a System Access Control List (SACL).

The CommonSecurityDescriptor type exposes the following members.

  NameDescription
Public method CommonSecurityDescriptor Overloaded. Initializes a new instance of the CommonSecurityDescriptor class.
Top

  NameDescription
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetBinaryForm Returns an array of byte values that represents the information contained in this GenericSecurityDescriptor object. (Inherited from GenericSecurityDescriptor.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetSddlForm Returns the Security Descriptor Definition Language (SDDL) representation of the specified sections of the security descriptor that this GenericSecurityDescriptor object represents. (Inherited from GenericSecurityDescriptor.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method PurgeAccessControl Removes all access rules for the specified security identifier from the Discretionary Access Control List (DACL) associated with this CommonSecurityDescriptor object.
Public method PurgeAudit Removes all audit rules for the specified security identifier from the System Access Control List (SACL) associated with this CommonSecurityDescriptor object.
Public method SetDiscretionaryAclProtection Sets the inheritance protection for the Discretionary Access Control List (DACL) associated with this CommonSecurityDescriptor object. DACLs that are protected do not inherit access rules from parent containers.
Public method SetSystemAclProtection Sets the inheritance protection for the System Access Control List (SACL) associated with this CommonSecurityDescriptor object. SACLs that are protected do not inherit audit rules from parent containers.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public property BinaryLength Gets the length, in bytes, of the binary representation of the current GenericSecurityDescriptor object. This length should be used before marshaling the ACL into a binary array with the GetBinaryForm method. (Inherited from GenericSecurityDescriptor.)
Public property ControlFlags Gets values that specify behavior of the CommonSecurityDescriptor object. (Overrides GenericSecurityDescriptor.ControlFlags.)
Public property DiscretionaryAcl Gets or sets the discretionary access control list (DACL) for this CommonSecurityDescriptor object. The DACL contains access rules.
Public property Group Gets or sets the primary group for this CommonSecurityDescriptor object. (Overrides GenericSecurityDescriptor.Group.)
Public property IsContainer Gets a Boolean value that specifies whether the object associated with this CommonSecurityDescriptor object is a container object.
Public property IsDiscretionaryAclCanonical Gets a Boolean value that specifies whether the Discretionary Access Control List (DACL) associated with this CommonSecurityDescriptor object is in canonical order.
Public property IsDS Gets a Boolean value that specifies whether the object associated with this CommonSecurityDescriptor object is a directory object.
Public property IsSystemAclCanonical Gets a Boolean value that specifies whether the System Access Control List (SACL) associated with this CommonSecurityDescriptor object is in canonical order.
Public property Owner Gets or sets the owner of the object associated with this CommonSecurityDescriptor object. (Overrides GenericSecurityDescriptor.Owner.)
Public property SystemAcl Gets or sets the System Access Control List (SACL) for this CommonSecurityDescriptor object. The SACL contains audit rules.
Top

Community Additions

ADD
Show:
© 2014 Microsoft