Custom Application - Setting a role via UNSAccountBHasUNSGroupB - POSH4 Connector

Hello Community, I need some help.

I´m developing a Powershell Connector for a SaaS Service (1IM 9.1.1) and I want to use a bit more entitlements instead of hardcoded value calculations. I have schemas for User, Locations and Role. The locations are reflected via UNSGroupB1 and this is working fine, as this is a M:N mechanism with his own script and workflow in the designer.

Now I also want to use UNSGroupB to assign the user a role. The problem here, I need this information during the creation process so I can´t simply add this operation to the workflow. Also, the Role in the targets system must be a single value. Is there an easy way to just get the information, which role a user is assigned to in the Sync Editor? M:N but more like M:1 (Always the first entry) and I need to take care, that only one role at a time is assigned to the user?

How do you, my lovely community solve such problems?

Best, Denny

Parents Reply Children
No Data