
316
Novell eDirectory 8.8 Administration Guide
n
ov
do
cx (e
n)
11
Ju
ly 20
08
IF
Boolean_Expression
THEN
This is the first clause in an IF-THEN statement. The Boolean expression is evaluated for a TRUE
or FALSE result. If it is TRUE, the declarations that immediately follow are run. If it is FALSE,
execution jumps to the next corresponding ELSE, ELSIF, or END declaration.
ELSE
This declaration marks the beginning of declarations that run if all corresponding preceding IF-
THEN and ELSIF statements result in FALSE. For example:
IF
Boolean_expression
THEN
statements
ELSIF
Boolean_expression
THEN
statements
ELSIF
Boolean_expression
THEN
statements
ELSE
statements
END
ELSIF
Boolean_Expression
THEN
The Boolean expression is evaluated if the preceding IF-THEN declaration returns a FALSE. The
ELSIF declaration is evaluated for a TRUE or FALSE result. If it is TRUE, the declarations that
follow are run. If it is FALSE, execution jumps to the next corresponding ELSE, ELSIF, or END
declaration.
For example:
IF
Boolean_expression
THEN
statements
ELSIF
Boolean_expression
THEN
statements
ELSIF
Boolean_expression
THEN
statements
END
END
The END declaration terminates an IF-THEN construction.
RETURN
The RETURN declaration gives the results of the Selector and Provider sections.
Selector
In a Selector section, the RETURN declaration provides the integer result used as a weight for the
policy. RETURN assigns a policy weight between 0-100, where 0 means do not use this policy, 1-99
means use this policy if no other policy returns a higher value, and 100 means use this policy. If no
RETURN declaration is made in a Selector section, a default value of 0 is returned.
A semicolon (;) is required to terminate the declaration. For example:
RETURN 49;
RETURN L2;
RETURN 39+7;
Provider
In a Provider section, the RETURN declaration provides the SEND or DONT_SEND result. If no
RETURN declaration is made, a default value of SEND is returned.
Summary of Contents for EDIRECTORY 8.8 SP3
Page 4: ...novdocx en 11 July 2008...
Page 72: ...72 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 120: ...120 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 132: ...132 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 190: ...190 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 238: ...238 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 262: ...262 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 288: ...288 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 320: ...320 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 348: ...348 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 388: ...388 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 492: ...492 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 586: ...586 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 599: ...The eDirectory Management Toolbox 599 novdocx en 11 July 2008 Click Help for details...
Page 600: ...600 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...
Page 614: ...614 Novell eDirectory 8 8 Administration Guide novdocx en 11 July 2008...