Performs a test on the object class name in the current operation.
Operator |
Returns true when... |
---|---|
available |
There is an object class name available in the current operation. |
equal |
There is an object class name available in the current operation and it equals the content of <if-class-name> when compared using the specified comparison mode. |
lt |
There is an object class name available in the current operation and it is less than the content of the condition when compared using the specified comparison mode. Supports variable expansion. |
gt |
There is an object class name available in the current operation and it is greater than the content of the condition when compared using the specified comparison mode. Supports variable expansion. |
not-available |
Available returns false. |
not-equal |
Equal returns false. |
not-lt |
Less than returns false. |
not-gt |
Greater than returns false. |
<if-class-name op="available"/> <if-class-name op="equal" mode="nocase">User</if-class-name >
#PCDATA
Attribute |
Possible Values |
Default Value |
---|---|---|
disabled |
true | false True if this element is disabled. |
false |
mode |
case | nocase | regex | src-dn | dest-dn | numeric | octet Comparison mode if op implies a comparison. |
nocase |
notrace |
true | false True if this element should not be traced during execution of the policy. |
false |
op |
available | equal | lt | gt | not-available | not-equal not-lt | not-gt Test operator. |
#REQUIRED |
( #PCDATA )