function Element

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Determines the logic used by the Communicator Web Access server in the query generated to search for the user in question.

Syntax

<function>and|or</function> 

Enumerations

Possible Value

Data Type

And

String

Or

String

Element Information

Parent Element

Element

Description

search

Searches for users.

Remarks

This element should only be used when two or more search fields are being used. If a function element with no value is included (<function></function>), Communicator Web Access server returns an error and no search is performed.

Examples

The following example creates a query for users where the user first name is John and the user last name is Smith.

<search rid="24">
   <lastName>Smith</lastName>
   <firstName>John</firstName>
   <function>and</function>
</search>

See Also

Concepts

search Element

firstName Element

lastName Element

emailAlias Element

searchResult Element