TaskSecurityRemoveAccessRuleAll Method
Searches for all access control rules with the same user and
AccessControlType (allow or deny) as the specified rule and, if found, removes them.
Namespace: Microsoft.Win32.TaskSchedulerAssembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
public void RemoveAccessRuleAll(
TaskAccessRule rule
)
Parameters
- rule TaskAccessRule
- A TaskAccessRule that specifies the user and AccessControlType to search for, and a set of inheritance and propagation flags that a matching rule, if found, must be compatible with. Any rights specified by this rule are ignored.