Reading this doc but not related to migration:https://success.outsystems.com/documentation/how_to_guides/data/data_migration_from_production_to_non_production_environment/application_users_groups_and_roles/
How can I add a user to group inside my app? Do I just create a dependency on the "Group_User" entity and call the "CreateGroup_User" entity action? Is that what I should do or is there some Library I should be using?
I also noticed that there is a "UsersLocalManagement" extension that has those types of server actions but I am not sure if that is a private extension (OutSystems internal only) or not.
Hi Dave,
There are ways to add users to a group programmatically, using the system entities like Group or Group_User.
First Create a Group and then Create a record in Group_User to link the User with the Group.
In Addition, if you have several groups and Users that you want to Import and create, there are a few Forge components available that you can use to implement it.
E.g User / Group / Role Import/Export and Group - User - Role Management
I hope it will help you thanks take care.