[About] Version=1.0 Author=Nic Mail=support@hiasm.com [Type] Class=Element Info=Provides the ability to control access to objects without direct manipulation of Access Control Lists . This class is the abstract base class for the CommonObjectSecurity and DirectoryObjectSecurity classes. [Property] Inherited=Sets a value indicating whether this rule is inherited from a parent container|14|0|True,False Protected=Sets a value indicating whether the protection of the access rules|14|0|True,False PreserveInheritance=Sets a value indicating whether to preserve inherited access rules to preserve inherited access rules. This parameter is ignored if Protected is false|14|0|True,False AccessMask=Sets the access mask of this rule. The access mask is a 32-bit collection of anonymous bits, the meaning of which is defined by the individual integrators|1|0 InheritanceFlags=Sets the inheritance properties of the access rule|14|0|None,ContainerInherit,ObjectInherit PropagationFlags=Sets whether inherited access rules are automatically propagated. The propagation flags are ignored if inheritanceFlags is set to None.|14|0|None,NoPropagateInherit,InheritOnly AccessType=Sets the valid access control type|14|0|Allow,Deny AuditFlags=Sets the conditions for which the rule is audited|14|0|None,Success,Failure IncludeSections=Sets the sections (access rules, audit rules, owner, primary group) of the security descriptor to set|14|0|None,Audit,Access,Owner,Group,All Modification=Sets the modification to apply to the DACL|14|0|Add,Set,Reset,Remove,RemoveAll,RemoveSpecific [Methods] *doAccessRuleFactory=Initializes a new instance of the AccessRule class with the specified values. ARG(IdentityReference identity, int accessMask, bool Inherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AccessControlType type)|1|0 *doAuditRuleFactory=Initializes a new instance of the AuditRule class with the specified values. ARG(IdentityReference identity, int accessMask, bool Inherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AuditFlags flags)|1|0 *doGetGroup=Gets the primary group associated with the specified owner. ARG(Type targetType)|1|0 *doGetOwner=Gets the owner associated with the specified primary group. ARG(Type targetType)|1|0 *doModifyAccessRule=Applies the specified modification to the Discretionary Access Control List associated with this ObjectSecurity object. ARG(AccessControlModification modification, AccessRule rule, out bool modified)|1|0 *doModifyAuditRule=Applies the specified modification to the System Access Control List associated with this ObjectSecurity object. ARG(AccessControlModification modification, AuditRule rule, out bool modified)|1|0 *doPurgeAccessRules=Removes all access rules associated with the specified IdentityReference. ARG(IdentityReference identity)|1|0 *doPurgeAuditRules=Removes all audit rules associated with the specified IdentityReference. ARG(IdentityReference identity)|1|0 *doSetAccessRuleProtection=Sets or removes protection of the access rules associated with this ObjectSecurity object. Protected access rules cannot be modified by parent objects through inheritance. ARG(bool Protected, bool preserveInheritance)|1|0 *doSetAuditRuleProtection=Sets or removes protection of the audit rules associated with this ObjectSecurity object. Protected audit rules cannot be modified by parent objects through inheritance. ARG(bool Protected, bool preserveInheritance)|1|0 *doSetGroup=Sets the primary group for the security descriptor associated with this ObjectSecurity object. ARG(IdentityReference identity)|1|0 *doSetOwner=Sets the owner for the security descriptor associated with this ObjectSecurity object. ARG(IdentityReference identity)|1|0 *doSetSecurityDescriptorSddlForm=Sets the security descriptor for this ObjectSecurity object from the specified Security Descriptor Definition Language string. ARG(string sddlForm)|1|0 *doSetSecurityDescriptorSddlForm2=Sets the specified sections of the security descriptor for this ObjectSecurity object from the specified Security Descriptor Definition Language string. ARG(string sddlForm, AccessControlSections includeSections)|1|0 *onAccessRuleFactory=Occurs after invoke the method doAccessRuleFactory and returns the result. ARG(AccessRule)|2|0 *onAuditRuleFactory=Occurs after invoke the method doAuditRuleFactory and returns the result. ARG(AuditRule)|2|0 *onGetGroup=Occurs after invoke the method doGetGroup and returns the result. ARG(IdentityReference)|2|0 *onGetOwner=Occurs after invoke the method doGetOwner and returns the result. ARG(IdentityReference)|2|0 *onGetSecurityDescriptorSddlForm=Occurs after invoke the method doGetSecurityDescriptorSddlForm and returns the result ARG(string)|2|2 *onModifyAccessRule=Occurs after invoke the method doModifyAccessRule and returns the result. ARG(bool)|2|104 *onModifyAuditRule=Occurs after invoke the method doModifyAuditRule and returns the result. ARG(bool)|2|104 *GetSecurityDescriptorBinaryForm=Returns an array of byte values that represents the security descriptor information for this ObjectSecurity object. ARG(byte[])|3|13 *GetSecurityDescriptorSddlForm=Returns the Security Descriptor Definition Language representation of the specified sections of the security descriptor associated with this ObjectSecurity object. ARG(string)|3|2 *IsSddlConversionSupported=Returns a Boolean value that specifies whether the security descriptor associated with this ObjectSecurity object can be converted to the Security Descriptor Definition Language format. ARG(bool)|3|104 *AccessRightType=Returns the Type of the securable object associated with this ObjectSecurity object. ARG(Type)|3|0 *AccessRuleType=Returns the Type of the object associated with the access rules of this ObjectSecurity object. The Type object must be an object that can be cast as a SecurityIdentifier object. ARG(Type)|3|0 *AreAccessRulesCanonical=Returns a Boolean value that specifies whether the access rules associated with this ObjectSecurity object are in canonical order. ARG(bool)|3|104 *AreAccessRulesProtected=Returns a Boolean value that specifies whether the Discretionary Access Control List associated with this ObjectSecurity object is protected. ARG(bool)|3|104 *AreAuditRulesCanonical=Returns a Boolean value that specifies whether the audit rules associated with this ObjectSecurity object are in canonical order. ARG(bool)|3|104 *AreAuditRulesProtected=Returns a Boolean value that specifies whether the System Access Control List associated with this ObjectSecurity object is protected. ARG(bool)|3|104 *AuditRuleType=Returns the Type object associated with the audit rules of this ObjectSecurity object. The Type object must be an object that can be cast as a SecurityIdentifier object. ARG(Type)|3|0 *identity=Defines the identity to which the access rule applies. It must be an object that can be cast as a SecurityIdentifier. ARG(IdentityReference)|4|0 *rule=Defines the access rule to modify. ARG(AccessRule)|4|0 *modified=Returns the DACL is successfully modified. ARG(out bool)|4|104 *sddlForm=Defines the SDDL string from which to set the security descriptor. ARG(string)|4|2