TaskSetSecurityDescriptorSddlForm Method
Sets the security descriptor for the task. Not available to Task Scheduler 1.0.
Namespace: Microsoft.Win32.TaskSchedulerAssembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
public void SetSecurityDescriptorSddlForm(
string sddlForm,
TaskSetSecurityOptions options = TaskSetSecurityOptions.None
)
Parameters
- sddlForm String
- The security descriptor for the task.
- options TaskSetSecurityOptions (Optional)
- Flags that specify how to set the security descriptor.