Export (0) Print
Expand All

RegistrySecurity Members

Represents the Windows access control security for a registry key. This class cannot be inherited.

The following tables list the members exposed by the RegistrySecurity type.

  Name Description
Public method RegistrySecurity Initializes a new instance of the RegistrySecurity class with default values.
Top

  Name Description
Public property AccessRightType Overridden. Gets the enumeration type that the RegistrySecurity class uses to represent access rights.
Public property AccessRuleType Overridden. Gets the type that the RegistrySecurity class uses to represent access rules.
Public property AreAccessRulesCanonical  Gets a Boolean value that specifies whether the access rules associated with this ObjectSecurity object are in canonical order.(inherited from ObjectSecurity)
Public property AreAccessRulesProtected  Gets a Boolean value that specifies whether the Discretionary Access Control List (DACL) associated with this ObjectSecurity object is protected.(inherited from ObjectSecurity)
Public property AreAuditRulesCanonical  Gets a Boolean value that specifies whether the audit rules associated with this ObjectSecurity object are in canonical order.(inherited from ObjectSecurity)
Public property AreAuditRulesProtected  Gets a Boolean value that specifies whether the System Access Control List (SACL) associated with this ObjectSecurity object is protected.(inherited from ObjectSecurity)
Public property AuditRuleType Overridden. Gets the type that the RegistrySecurity class uses to represent audit rules.
Top

  Name Description
Public method AccessRuleFactory Overridden. Creates a new access control rule for the specified user, with the specified access rights, access control, and flags.
Public method AddAccessRule Searches for a matching access control with which the new rule can be merged. If none are found, adds the new rule.
Public method AddAuditRule Searches for an audit rule with which the new rule can be merged. If none are found, adds the new rule.
Public method AuditRuleFactory Overridden. 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.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetAccessRules  Gets a collection of the access rules associated with the specified security identifier. (inherited from CommonObjectSecurity)
Public method GetAuditRules  Gets a collection of the audit rules associated with the specified security identifier. (inherited from CommonObjectSecurity)
Public method GetGroup  Gets the primary group associated with the specified owner. (inherited from ObjectSecurity)
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetOwner  Gets the owner associated with the specified primary group. (inherited from ObjectSecurity)
Public method GetSecurityDescriptorBinaryForm  Returns an array of byte values that represents the security descriptor information for this ObjectSecurity object. (inherited from ObjectSecurity)
Public method GetSecurityDescriptorSddlForm  Returns the Security Descriptor Definition Language (SDDL) representation of the specified sections of the security descriptor associated with this ObjectSecurity object. (inherited from ObjectSecurity)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static 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 (SDDL) format. (inherited from ObjectSecurity)
Public method ModifyAccessRule  Applies the specified modification to the Discretionary Access Control List (DACL) associated with this ObjectSecurity object. (inherited from ObjectSecurity)
Public method ModifyAuditRule  Applies the specified modification to the System Access Control List (SACL) associated with this ObjectSecurity object. (inherited from ObjectSecurity)
Public method PurgeAccessRules  Removes all access rules associated with the specified IdentityReference. (inherited from ObjectSecurity)
Public method PurgeAuditRules  Removes all audit rules associated with the specified IdentityReference. (inherited from ObjectSecurity)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method RemoveAccessRule Searches for an access control rule with the same user and AccessControlType (allow or deny) 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.
Public method RemoveAccessRuleAll Searches for all access control rules with the same user and AccessControlType (allow or deny) as the specified rule and, if found, removes them.
Public method RemoveAccessRuleSpecific Searches for an access control rule that exactly matches the specified rule and, if found, removes it.
Public method RemoveAuditRule 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.
Public method RemoveAuditRuleAll Searches for all audit rules with the same user as the specified rule and, if found, removes them.
Public method RemoveAuditRuleSpecific Searches for an audit rule that exactly matches the specified rule and, if found, removes it.
Public method ResetAccessRule Removes all access control rules with the same user as the specified rule, regardless of AccessControlType, and then adds the specified rule.
Public method SetAccessRule Removes all access control rules with the same user and AccessControlType (allow or deny) as the specified rule, and then adds the specified rule.
Public method SetAccessRuleProtection  Sets or removes protection of the access rules associated with this ObjectSecurity object. Protected access rules cannot be modified by parent objects through inheritance. (inherited from ObjectSecurity)
Public method SetAuditRule Removes all audit rules with the same user as the specified rule, regardless of the AuditFlags value, and then adds the specified rule.
Public method SetAuditRuleProtection  Sets or removes protection of the audit rules associated with this ObjectSecurity object. Protected audit rules cannot be modified by parent objects through inheritance. (inherited from ObjectSecurity)
Public method SetGroup  Sets the primary group for the security descriptor associated with this ObjectSecurity object. (inherited from ObjectSecurity)
Public method SetOwner  Sets the owner for the security descriptor associated with this ObjectSecurity object. (inherited from ObjectSecurity)
Public method SetSecurityDescriptorBinaryForm  Overloaded. Sets the security descriptor for this ObjectSecurity object from the specified binary data. (inherited from ObjectSecurity)
Public method SetSecurityDescriptorSddlForm  Overloaded. Sets the security descriptor for this ObjectSecurity object from the specified Security Descriptor Definition Language (SDDL) string. (inherited from ObjectSecurity)
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
Top

Community Additions

ADD
Show:
© 2014 Microsoft