ProcessAccessRule Type
Represents an access rule granting or denying some process a specific access right.
Remarks
This type represents an access rule that grants or denies some process a specific access right.
Fields
DesiredAccess int |
The kind of access granted or denied. This field specifies what kind of access is granted or denied by the rule. Possible values are:
| |||||||||
IncludeChildren boolean |
Whether child processes are affected. This field indicates whether the rule applies to children of the target process. | |||||||||
ProcessId int |
The Id of the target process. This field reflects the target process's Id (PID). Will be 0 if the target process was specified by ProcessName, or -1 if the rule applies to all processes. | |||||||||
ProcessName String |
The filename of the target process's executable. This field reflects the full filename of the target process's executable. Will be empty if the target process was specified by ProcessId (or if the rule applies to all processes, in which case ProcessId will be -1). |