TaskGetAccessControl Method
Gets a
TaskSecurity object that encapsulates the specified type of access control list (ACL) entries for the task
described by the current
Task object.
Namespace: Microsoft.Win32.TaskSchedulerAssembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
public TaskSecurity GetAccessControl()
Return Value
TaskSecurityA
TaskSecurity object that encapsulates the access control rules for the current task.