[About] Version=1.0 Author=Nic Mail=support@hiasm.com [Type] Class=Element Inherit=ObjectSecurity,CommonObjectSecurity Interfaces=Object,RegistrySecurity Info=Represents the Windows access control security for a registry key. [Property] Name=Sets the name of the component. ARG(string)|2| [Methods] *doAccessRuleFactory=Creates a new access control rule for the specified user, with the specified access rights, access control, and flags. ARG(IdentityReference identityReference, int accessMask, bool isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AccessControlType type)|1|0 *doAddAccessRule=Searches for a matching access control with which the new rule can be merged. If none are found, adds the new rule. ARG(RegistryAccessRule rule)|1|0 *doAddAuditRule=Searches for an audit rule with which the new rule can be merged. If none are found, adds the new rule. ARG(RegistryAuditRule rule)|1|0 *doAuditRuleFactory=Creates a new audit rule, specifying the user the rule applies to, the access rights to audit, the inheritance and propagation of the rule, and the outcome that triggers the rule. ARG(IdentityReference identityReference, int accessMask, bool isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AuditFlags flags)|1|0 *doRemoveAccessRule=Searches for an access control rule with the same user and AccessControlType as the specified access rule, and with compatible inheritance and propagation flags; if such a rule is found, the rights contained in the specified access rule are removed from it. ARG(RegistryAccessRule rule)|1|0 *doRemoveAccessRuleAll=Searches for all access control rules with the same user and AccessControlType as the specified rule and, if found, removes them. ARG(RegistryAccessRule rule)|1|0 *doRemoveAccessRuleSpecific=Searches for an access control rule that exactly matches the specified rule and, if found, removes it. ARG(RegistryAccessRule rule)|1|0 *doRemoveAuditRule=Searches for an audit control rule with the same user as the specified rule, and with compatible inheritance and propagation flags; if a compatible rule is found, the rights contained in the specified rule are removed from it. ARG(RegistryAuditRule rule)|1|0 *doRemoveAuditRuleAll=Searches for all audit rules with the same user as the specified rule and, if found, removes them. ARG(RegistryAuditRule rule)|1|0 *doRemoveAuditRuleSpecific=Searches for an audit rule that exactly matches the specified rule and, if found, removes it. ARG(RegistryAuditRule rule)|1|0 *doResetAccessRule=Removes all access control rules with the same user as the specified rule, regardless of AccessControlType, and then adds the specified rule. ARG(RegistryAccessRule rule)|1|0 *doSetAccessRule=Removes all access control rules with the same user and AccessControlType as the specified rule, and then adds the specified rule. ARG(RegistryAccessRule rule)|1|0 *doSetAuditRule=Removes all audit rules with the same user as the specified rule, regardless of the AuditFlags value, and then adds the specified rule. ARG(RegistryAuditRule rule)|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 *onRemoveAccessRule=Occurs after invoke the method doRemoveAccessRule and returns the result. ARG(bool)|2|104 *onRemoveAuditRule=Occurs after invoke the method doRemoveAuditRule and returns the result. ARG(bool)|2|104 *AccessRightType=Returns the enumeration type that the RegistrySecurity class uses to represent access rights. ARG(Type)|3|0 *AccessRuleType=Returns the type that the RegistrySecurity class uses to represent access rules. ARG(Type)|3|0 *AuditRuleType=Returns the type that the RegistrySecurity class uses to represent audit rules. ARG(Type)|3|0 RegistrySecurity=Returns the RegistrySecurity object. ARG(RegistrySecurity)|3|0 *accessMask=Defines a bitwise combination of RegistryRights values specifying the access rights to allow or deny, cast to an integer. ARG(int)|4|1 *flags=Defines a bitwise combination of AuditFlags values specifying whether to audit successful access, failed access, or both. ARG(AuditFlags)|4|0 *identityReference=Defines an IdentityReference that identifies the user or group the rule applies to. ARG(IdentityReference)|4|0 *inheritanceFlags=Defines a bitwise combination of InheritanceFlags values specifying how the rule is inherited by subkeys. ARG(InheritanceFlags)|4|0 *isInherited=Defines a Boolean value specifying whether the rule is inherited. ARG(bool)|4|104 *propagationFlags=Defines a bitwise combination of PropagationFlags values that modify the way the rule is inherited by subkeys. Meaningless if the value of inheritanceFlags is InheritanceFlags .None. ARG(PropagationFlags)|4|0 *rule=Defines the access control rule to add. ARG(RegistryAccessRule)|4|0 *type=Defines one of the AccessControlType values specifying whether the rights are allowed or denied. ARG(AccessControlType)|4|0