Forum Discussion

mvalerio24's avatar
mvalerio24
New Contributor III
2 years ago

Save Security Group into another Security group using Business Rule

Is it possible to use a Business Rule to save one Security group under another security group? If so, can you share an example of how this would be done?

  • JackLacava's avatar
    JackLacava
    Honored Contributor

    Retrieve the child group info with BRApi.Security.Admin.GetGroupInfoEx, retrieve the guids of parent groups with the .ParentGroups property, modify the list and save it back with BRApi.Security.Admin.SaveGroup.

    Good Luck!