TaskAccessRule Class

Represents a set of access rights allowed or denied for a user or group. This class cannot be inherited.

Definition

Namespace: Microsoft.Win32.TaskScheduler
Assembly: Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.11.1
public sealed class TaskAccessRule : AccessRule
Inheritance
Object    AuthorizationRule    AccessRule    TaskAccessRule

Constructors

TaskAccessRule(IdentityReference, TaskRights, AccessControlType) Initializes a new instance of the TaskAccessRule class, specifying the user or group the rule applies to, the access rights, and whether the specified access rights are allowed or denied.
TaskAccessRule(String, TaskRights, AccessControlType) 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.

Properties

TaskRights Gets the rights allowed or denied by the access rule.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also