Installation guide

Table Of Contents
Entry-Related Directives
Appendix B Gateway Directives 121
Examples
<!-- IF "!DirectoryIsLocalDB" -->
The entry was last modified by <!-- DS_ATTRIBUTE
"attr=modifiersName" "syntax=dn" "defaultvalue=N/A"
"options=readonly" -->
<!-- ENDIF ---->
<!-- IF "AttributeHasThisValue" "objectclass" "cis" "mailRecipient"
--> // this entry is a mail recipient... do something special here
<!-- ENDIF ---->
Displaying none Are we just displaying an entry?
Bound none Is the user authenticated?
BoundAsThisEntry none Is the user authenticated as the entry we
are displaying?
AttributeHasValues attr
mincount
Does the attribute attr have at least
mincount values?
AttributeHasThisValue attr syntax
value
Does the attribute attr with syntax
syntax have value as one of its
values?
AdminServer * none Are we running under the Administration
Server?
DirectoryIsLocalDB * none Is the Directory Server using the LDAP
local database?
PostedFormValue * name value Is a form variable called name present
that has value as its value?
NOTE Conditions marked with an asterisks (*) are supported in all the directory
gateway CGIs, not just
dosearch and edit.
Table B-4 Conditions Supported for ELSE and ENDIF (Continued)
Condition Arguments Description