Click or drag to resize
Task Scheduler Managed Class Library

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.TaskScheduler
Assembly:  Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.10.1
Syntax
public TaskSecurity GetAccessControl()
Request Example View Source

Return Value

Type: TaskSecurity
A TaskSecurity object that encapsulates the access control rules for the current task.
See Also