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

Populating domain attribute into FIM. The return type(Object) of function IIF is not Binary

$
0
0

I'm trying to use the Function "ConvertSidToString" with the CustomExpression:

IIF(Eq(Left(ConvertSidToString(objectSid),41),"S-1-5-21-xxxxxxxxxx-xxxxxxxxxx-xxxxxxxxxx"),"DOMAINA",IIF(Eq(Left(ConvertSidToString(objectSid),41),"S-1-5-21-xxxxxxxxxx-xxxxxxxxxx-xxxxxxxxxx"),"DOMAINB",IIF(Eq(Left(ConvertSidToString(objectSid),41),"S-1-5-21-xxxxxxxxxx-xxxxxxxxxx-xxxxxxxxxx"),"DOMAINC","Unknown")))

However, I get the error: The return type(Object) of function IIF is not Binary


Viewing all articles
Browse latest Browse all 4767

Trending Articles



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