TaskGetAccessControl(AccessControlSections) 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.

Definition

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
public TaskSecurity GetAccessControl(
	AccessControlSections includeSections
)

Parameters

includeSections  AccessControlSections
One of the AccessControlSections values that specifies which group of access control entries to retrieve.

Return Value

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

See Also