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.12.0
Syntax
C#
public TaskSecurity GetAccessControl()
Request Example View Source

Return Value

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