[midPoint] Re. IterationToken Variable

Radovan Semancik radovan.semancik at evolveum.com
Tue Oct 29 16:42:18 CET 2013


Hi,

This is an "iteration feature" used to determine value for unique 
identifiers for the account. I've figured this is poorly documented now 
therefore I found a while to improve the documentation:

https://wiki.evolveum.com/display/midPoint/Unique+Account+Username+HOWTO

Hope this helps.

-- 

                                            Radovan Semancik
                                           Software Architect
                                              evolveum.com



On 10/29/2013 03:47 PM, Deepak Natarajan wrote:
> 	
> Hi -
>
> I am trying to understand the usage of the variable iterationToken, as described here :
>
> https://wiki.evolveum.com/display/midPoint/Outbound+Mapping
>
> Could anyone please give me a brief description of what these "iterations" actually are? (i.e what is being iterated upon)
>
>
> I see this often in the examples in outbound mappings :
>
>
> 					<outbound>
> 						<source>
> 							<path>$user/givenName</path>
> 						</source>
> 						<source>
> 							<path>$user/familyName</path>
> 						</source>
> 						<expression>
> 							<script>
> 								<code>'cn=' + givenName + ' ' + familyName + iterationToken + ',cn=Users,dc=example,dc=com'</code>
> 							</script>
> 						</expression>
>
> And am wondering if its ok to leave the iterationToken variable out, and if it was something that got carried over from a particular use case (e.g of having cn's such as user0, user1 etc from one of the examples)
>
> Thanks!
> Deepak
>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> http://lists.evolveum.com/mailman/listinfo/midpoint





More information about the midPoint mailing list