![]() | Task |
The TaskSecurity type exposes the following members.
Name | Description | |
---|---|---|
![]() | AccessRuleFactory |
Creates a new access control rule for the specified user, with the specified access rights, access control, and flags.
(Overrides ObjectSecurityAccessRuleFactory(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AccessControlType)) |
![]() | AddAccessRule | Searches for a matching rule with which the new rule can be merged. If none are found, adds the new rule. |
![]() | AddAuditRule | Searches for an audit rule with which the new rule can be merged. If none are found, adds the new rule. |
![]() | AuditRuleFactory |
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 ObjectSecurityAuditRuleFactory(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AuditFlags)) |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
![]() | Persist |
Saves the specified sections of the security descriptor associated with this ObjectSecurity object to permanent storage. We recommend that the values of the includeSections parameters passed to the constructor and persist methods be identical. For more information, see Remarks.
(Overrides ObjectSecurityPersist(String, AccessControlSections)) |
![]() | RemoveAccessRule | Searches for an access control rule with the same user and AccessControlType (allow or deny) as the specified 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 | 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 | Searches for an access control rule that exactly matches the specified rule and, if found, removes it. |
![]() | 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. |
![]() | RemoveAuditRuleAll | Searches for all audit rules with the same user as the specified rule and, if found, removes them. |
![]() | RemoveAuditRuleSpecific | Searches for an audit rule that exactly matches the specified rule and, if found, removes it. |
![]() | ResetAccessRule | Removes all access control rules with the same user as the specified rule, regardless of AccessControlType, and then adds the specified rule. |
![]() | 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. |
![]() | SetAuditRule | Removes all audit rules with the same user as the specified rule, regardless of the AuditFlags value, and then adds the specified rule. |
![]() | ToString |
Returns a String that represents this instance.
(Overrides ObjectToString) |