Click or drag to resize
Task Scheduler Managed Class Library

TaskAccessRule Class

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

Namespace:  Microsoft.Win32.TaskScheduler
Assembly:  Microsoft.Win32.TaskScheduler (in Microsoft.Win32.TaskScheduler.dll) Version: 2.10.1
Syntax
public sealed class TaskAccessRule : AccessRule
Request Example View Source

The TaskAccessRule type exposes the following members.

Constructors
  NameDescription
Public methodTaskAccessRule(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.
Public methodTaskAccessRule(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.
Top
Properties
  NameDescription
Public propertyTaskRights
Gets the rights allowed or denied by the access rule.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also