Hi Community Members,
Seeking for Your help!
I have created the roles in a application name XYZ_Core and I am using all the roles through dependency in my XYZ_frontoffice application . So I am unable to view roles for XYZ_frontoffice application in Outsystems default users website.
For example as shown in the picture:-
So my question is how to get all the roles and users for my XYZ_frontoffice application in Outsystem Default Users Site ,under my Application tab to view all the roles as I have used all the roles in this application which I took from the XYZ_Core application.
Thanks in advance!!
I dont know if there is a "built in" way, but is relative simple, since, its a query in entites that are available in "system" module, just need to get references.
I hope my answer helps you.
:)
By default you can not view the referenced roles on the user console. You would have to customise if you want to show the referenced roles.
Regards,
Shree
Hello @Md Sohel Khan
You can gothrough this link hope this will help you
https://www.outsystems.com/forums/discussion/7399/how-to-manage-users-and-roles/
https://www.outsystems.com/evaluation-guide/role-based-access-control-for-outsystems-applications/#:~:text=OutSystems%20supports%20role-based%20access%20control.%20Roles%20are%20created,in%20a%20visual%20way%20when%20developing%20an%20application.
Regards
Nikhil kumar vijay
hi @Nikhil Kumar Vijay ,
Actually I am getting all the roles and users in my core module(XYZ_Core) where I intially created the roles , in that OOTB outsystems users website but I am using all roles in my XYZ_Frontoffice through dependency where I am unable get any roles in that OOTB Users website.
Hi,
You can get the roles which are created inside the applications not the one you have taken a dependency from other modules.
May I please know the purpose why do you want to get the roles inside your frontoffice application?
Thanks for your reply . Actually i had a service type application where all the roles are created and you know service type applications are not visible in Users website. So I am unable to see the roles for a general frontend application.
You can get all roles, groups and user correlated of the enviroment using the following entites from "system module":I did in my app a block that show all roles of the user logged, but this "roles arent in the end-user module".
This is the block with roles and descriptions:
This is the agreggate source:
This is the filter, in my case I passe the Module Id, because I want the roles that are in a specify module, but you can use likes or not user filter to get roles for all enviroment (given a UserId)
Thankyou for your reply . So its not possible to view the roles by default . We have to built something with the entities to view the roles of a module.
@Shreelakshmi Shivaramu
Thankyou so much for your valuable suggestions!
@matheusfol
Thankyou friend for your suggestion!!
Anytime!!
Hope my suggestions helped. If so please don't forget to mark the solution so that it would help other community members to find the solution easily.