if-dest-dn

Performs a test on the destination DN in the current operation.

Remarks

Operator

Returns true when...

available

There is a destination DN available.

equal

There is a destination DN available and it equals the content of <if-dest-dn> when compared using semantics appropriate to the DN format of the destination data store. Supports variable expansion.

in-container

There is a destination DN available and it represents an object in the container specified by the content of <if-dest-dn> when compared using semantics appropriate to the DN format of the destination data store. Supports variable expansion.

in-subtree

There is a destination DN available and it represents and object in the subtree specified by the content of <if-dest-dn> when compared using semantics appropriate to the DN format of the destination data store. 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.

Example

<if-dest-dn op="available"/><if-dest-dn op="equal">Novell\Users\Fred</if-dest-dn><if-dest-dn op="in-container">Novell\Users</if-dest-dn><if-dest-dn op="in-subtree">Novell</if-dest-dn >

Allowed Content

#PCDATA

Attributes

Attribute

Possible Values

Default Value

Attribute

disabled true | false

True if this element is disabled.

false

notrace

true | false

True if this element should not be traced during execution of the policy.

false

op

available | equal | in-container | in-subtree | not-available | not-equal | not-in-container | not-in-subtree

Test operator.

#REQUIRED

Content Rule

( #PCDATA )

Parent Elements

Element

Description

and

Logical conjunction.

or

Logical disjunction.