How to grant/check group role programmatically?
Application Type
Mobile, Reactive

Hi,

I want to grant or check group role programatically.


The input argument of Grant<RoleName>Role or Check<RoleName>Role action is not groupId but userId, so it seems to me that these actions cannot grant or check group role.

And I found the link, https://success.outsystems.com/Documentation/11/Developing_an_Application/Secure_the_Application/End_Users/Manage_End_Users_and_Organize_Roles_using_Groups,but the explanation is the way to organize group role in the service center by hand.


Is there any way to control group role using action logic?


Thanks.

Hi Kenta,

In System, Group, Group_Role and Group_User Entity available. You can use these entity to check and grant group role.


Thanks

Vinod

HI, Vinod


Thanks for your reply.  I try your advice.


--


Kenta Nakajima

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