PassthroughRuleAccessFlags Property
The access restrictions lifted by the rule (CBFilter only).
Syntax
ANSI (Cross Platform) int GetPassthroughRuleAccessFlags(int iPassthroughRuleIndex); Unicode (Windows) INT GetPassthroughRuleAccessFlags(INT iPassthroughRuleIndex);
#define PID_CBFILTER_PASSTHROUGHRULEACCESSFLAGS 20 CBFSFILTER_EXTERNAL void* CBFSFILTER_CALL CBFSFilter_CBFilter_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); CBFSFILTER_EXTERNAL int CBFSFILTER_CALL CBFSFilter_CBFilter_CheckIndex(void *lpObj, int propid, int arridx);
Default Value
0
Remarks
The access restrictions lifted by the rule (CBFilter only).
This property indicates which access restrictions are lifted by the rule. Please refer to the Passthrough Rules topic for more information. The value of this property is a combination of zero or more of the following:
ACCESS_NONE | 0x00 | No access restrictions. |
ACCESS_READ_ONLY | 0x01 | Read-only access; writing and deleting is prohibited. |
ACCESS_WRITE_ONLY | 0x02 | Write-only access; reading and deleting is prohibited. |
ACCESS_DELETE_PROTECT | 0x04 | Deletion and renaming is prohibited. |
ACCESS_EXECUTE_PROTECT | 0x08 | Execution is prohibited. |
ACCESS_NO_CHANGE_DAC | 0x10 | Change of security attributes is prohibited. |
ACCESS_NO_CHANGE_OWNER | 0x20 | Change of owner is prohibited. |
ACCESS_RENAME_PROTECT | 0x40 | Renaming is prohibited. |
ACCESS_DELETE_ONLY_PROTECT | 0x80 | Deletion is prohibited (renaming is not affected). |
ACCESS_REMOTE_ACCESS_PROTECT | 0x100 | Access from other systems is prohibited. |
ACCESS_DENY_ALL | 0x200 | All access is denied. |
ACCESS_ALL_FLAGS | -1 | Used to denote all currently set access restriction flags. |
Note: This property is always 0 for the CBMonitor class, which doesn't support access rules.
The PassthroughRuleIndex parameter specifies the index of the item in the array. The size of the array is controlled by the PassthroughRuleCount property.
This property is read-only and not available at design time.
Data Type
Integer