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

Sync Rule Parameter if reference object exists

$
0
0

Hi!

I am syncing user object to a SQL MA. In one field, i need the Managers employeenumber. So i achieved this with a sync rule Parameter as follows:

[//Target/Manager/employeenumber]

Now there are some user object that have no Manager. It is my understanding that i receive the following eventlog error for that reason:

System.ArgumentException: Cannot deference on non-instantiated Attribute Manager

Can someone give me a hint how i can check if a Manager is present and only then select the employeenumber?

I Vision the following:

IIF(ispresent(//Target/Manager),//Target/Manager/employeenumber,"")

Thanks for your time

Martin



Viewing all articles
Browse latest Browse all 4767

Trending Articles



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