Gibt es eine Möglichkeit, Gruppen programmatisch hinzuzufügen?

Yes, that’s Plan B, but possibly with LDAP groups…