49
Views
2
Comments
Enquiry on creating groups and assign specific user roles into that group

Hi all,


I have a question on creating teams and assign certain user roles into the team. For instance, a team manager would like to create a team and assign few team members into his team to work on a project. I understand groups and user assignment can be done on the Outsystems back office, may I know if there is any documentation and examples that explains on how to perform the action mentioned earlier on the front end of my web application?


Regards,

Ming

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

Hi Ming,

You can use the OutSystems Users API:
https://success.outsystems.com/Documentation/11/Reference/OutSystems_APIs/Users_API

Regards,

Daniel

UserImage.jpg
Ming Y

Hi Daniel,


Apologies for the late reply and thanks for the suggestion, may I have more advice on how should I use the UsersAPI (Group) in an Aggregate or I should create a custom entity (e.g. ProjectTeam) instead to assign the Systems (User) into "ProjectTeam" instead? My current situation is:


1. Team Manager (Role) creates a group to assign few members into one group for a project. Hence 1 to 1 relationship, but afaik we can't edit Outsystems built in entity by adding entity attribute into the systems entity. Please correct me if my understanding is wrong

2. Each group will have more than 1 members in it hence, 1 to many relationship


Regards,

Ming

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.