Click or drag to resize
Task Scheduler Managed Class Library

TaskFolderGetAccessControl Method (AccessControlSections)

Gets a TaskSecurity object that encapsulates the specified type of access control list (ACL) entries for the task folder described by the current TaskFolder object.

Namespace:  Microsoft.Win32.TaskScheduler
Assembly:  Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.10.1
Syntax
public TaskSecurity GetAccessControl(
	AccessControlSections includeSections
)
Request Example View Source

Parameters

includeSections
Type: System.Security.AccessControlAccessControlSections
One of the AccessControlSections values that specifies which group of access control entries to retrieve.

Return Value

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