accessGrantedProcessId (property)
The Id of the target process.
Syntax
- (int)accessGrantedProcessId:(int)accessGrantedProcessIndex;
public func accessGrantedProcessId(accessGrantedProcessIndex: Int32) throws -> Int32
Default Value
0
Remarks
The Id of the target process.
This property reflects the target process's Id (PID). Will be 0 if the target process was specified by AccessGrantedProcessProcessName, or -1 if the rule applies to all processes.
The AccessGrantedProcessIndex parameter specifies the index of the item in the array. The size of the array is controlled by the AccessGrantedProcessCount property.
This property is read-only.