EventWaitHandleSecurity Methods
![]() |
---|
The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience. |
Assembly: mscorlib (in mscorlib.dll)
Name | Description | |
---|---|---|
![]() | AccessRuleFactory(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AccessControlType) | Creates a new access control rule for the specified user, with the specified access rights, access control, and flags.(Overrides ObjectSecurity.AccessRuleFactory(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AccessControlType).) |
![]() | AddAccessRule(EventWaitHandleAccessRule) | Searches for a matching access control rule with which the new rule can be merged. If none are found, adds the new rule. |
![]() | AddAuditRule(EventWaitHandleAuditRule) | Searches for an audit rule with which the new rule can be merged. If none are found, adds the new rule. |
![]() | AuditRuleFactory(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AuditFlags) | Creates a new audit rule, specifying the user the rule applies to, the access rights to audit, and the outcome that triggers the audit rule.(Overrides ObjectSecurity.AuditRuleFactory(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AuditFlags).) |
![]() | Equals(Object) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | GetAccessRules(Boolean, Boolean, Type) | Gets a collection of the access rules associated with the specified security identifier.(Inherited from CommonObjectSecurity.) |
![]() | GetAuditRules(Boolean, Boolean, Type) | Gets a collection of the audit rules associated with the specified security identifier.(Inherited from CommonObjectSecurity.) |
![]() | GetGroup(Type) | Gets the primary group associated with the specified owner.(Inherited from ObjectSecurity.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetOwner(Type) | Gets the owner associated with the specified primary group.(Inherited from ObjectSecurity.) |
![]() | GetSecurityDescriptorBinaryForm() | Returns an array of byte values that represents the security descriptor information for this ObjectSecurity object.(Inherited from ObjectSecurity.) |
![]() | GetSecurityDescriptorSddlForm(AccessControlSections) | Returns the Security Descriptor Definition Language (SDDL) representation of the specified sections of the security descriptor associated with this ObjectSecurity object.(Inherited from ObjectSecurity.) |
![]() | GetType() | |
![]() | ModifyAccessRule(AccessControlModification, AccessRule, Boolean) | Applies the specified modification to the Discretionary Access Control List (DACL) associated with this ObjectSecurity object.(Inherited from ObjectSecurity.) |
![]() | ModifyAuditRule(AccessControlModification, AuditRule, Boolean) | Applies the specified modification to the System Access Control List (SACL) associated with this ObjectSecurity object.(Inherited from ObjectSecurity.) |
![]() | PurgeAccessRules(IdentityReference) | Removes all access rules associated with the specified IdentityReference.(Inherited from ObjectSecurity.) |
![]() | PurgeAuditRules(IdentityReference) | Removes all audit rules associated with the specified IdentityReference.(Inherited from ObjectSecurity.) |
![]() | RemoveAccessRule(EventWaitHandleAccessRule) | 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. |
![]() | RemoveAccessRuleAll(EventWaitHandleAccessRule) | Searches for all access control rules with the same user and AccessControlType (allow or deny) as the specified rule and, if found, removes them. |
![]() | RemoveAccessRuleSpecific(EventWaitHandleAccessRule) | Searches for an access control rule that exactly matches the specified rule and, if found, removes it. |
![]() | RemoveAuditRule(EventWaitHandleAuditRule) | Searches for an audit 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. |
![]() | RemoveAuditRuleAll(EventWaitHandleAuditRule) | Searches for all audit rules with the same user as the specified rule and, if found, removes them. |
![]() | RemoveAuditRuleSpecific(EventWaitHandleAuditRule) | Searches for an audit rule that exactly matches the specified rule and, if found, removes it. |
![]() | ResetAccessRule(EventWaitHandleAccessRule) | Removes all access control rules with the same user as the specified rule, regardless of AccessControlType, and then adds the specified rule. |
![]() | SetAccessRule(EventWaitHandleAccessRule) | Removes all access control rules with the same user and AccessControlType (allow or deny) as the specified rule, and then adds the specified rule. |
![]() | SetAccessRuleProtection(Boolean, Boolean) | 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.) |
![]() | SetAuditRule(EventWaitHandleAuditRule) | Removes all audit rules with the same user as the specified rule, regardless of the AuditFlags value, and then adds the specified rule. |
![]() | SetAuditRuleProtection(Boolean, Boolean) | 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.) |
![]() | SetGroup(IdentityReference) | Sets the primary group for the security descriptor associated with this ObjectSecurity object.(Inherited from ObjectSecurity.) |
![]() | SetOwner(IdentityReference) | Sets the owner for the security descriptor associated with this ObjectSecurity object.(Inherited from ObjectSecurity.) |
![]() | SetSecurityDescriptorBinaryForm(Byte[]) | Sets the security descriptor for this ObjectSecurity object from the specified array of byte values.(Inherited from ObjectSecurity.) |
![]() | SetSecurityDescriptorBinaryForm(Byte[], AccessControlSections) | Sets the specified sections of the security descriptor for this ObjectSecurity object from the specified array of byte values.(Inherited from ObjectSecurity.) |
![]() | SetSecurityDescriptorSddlForm(String) | Sets the security descriptor for this ObjectSecurity object from the specified Security Descriptor Definition Language (SDDL) string.(Inherited from ObjectSecurity.) |
![]() | SetSecurityDescriptorSddlForm(String, AccessControlSections) | Sets the specified sections of the security descriptor for this ObjectSecurity object from the specified Security Descriptor Definition Language (SDDL) string.(Inherited from ObjectSecurity.) |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |