TaskAccessRule(String, TaskRights, AccessControlType) Constructor

Initializes a new instance of the TaskAccessRule class, specifying the name of the user or group the rule applies to, the access rights, and whether the specified access rights are allowed or denied.

Definition

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
public TaskAccessRule(
	string identity,
	TaskRights eventRights,
	AccessControlType type
)

Parameters

identity  String
The name of the user or group the rule applies to.
eventRights  TaskRights
A bitwise combination of TaskRights values specifying the rights allowed or denied.
type  AccessControlType
One of the AccessControlType values specifying whether the rights are allowed or denied.

See Also