Getting system role name

Hello

Fulfill a request for a custom target by adding a script <Prefix>_UNSAccountBInUNSGroupB_<Custom Target>_Add and handling the provisioning logic in there. If the group belongs to a role, how can I get role name in this script?

Thanks.

  • You will need to write a script that creates an collection of "OrgHasUNSAccountB" objects, where UID_UNSAccountB = the UID of the group. Take a look at the SDK examples for Collections...they should get you where you need to be.