Quantcast
Channel: Forum Microsoft Identity Manager
Viewing all articles
Browse latest Browse all 6944

SyncRule function Word gives an error instead of returning empty string

$
0
0

Just as seen in the last post of http://social.technet.microsoft.com/Forums/en-GB/ilm2/thread/b5277a9c-59f4-4a87-8707-b0fe5b3517af

Per the documentation for the Word Function it says:
A string containing the word at the position the user asked for. If string contains less than number of words, or string does not contain any words identified by delimeters, an empty string is returned.

This would lead me to believe that
Word(“Test;;Function” , 4 , “;”) should return “” (an empty string).
However instead you will get an error during the synchronization "Specified argument was out of the range of valid values. Parameter name: wordIndex"

I just tested this with version 4.1.2273.0

Anyone seen any different?


David Lundell, Get your copy of FIM Best Practices Volume 1 http://blog.ilmbestpractices.com/2010/08/book-is-here-fim-best-practices-volume.html


Viewing all articles
Browse latest Browse all 6944

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>