Sun Identity Manager Deployment Reference

retainAll Function

Computes the intersection of two lists, and returns elements contained in both lists.

This function has two variants.

Example 1

Sets a named list to an intersection of it and the another list.

<retainAll name=’variable name of list’>
<!-- the other list-->

Example 2

Returns the intersection of two lists.

   <!-- the first list>
   <!-- second list-->