276
Views
11
Comments
Solved
How to get the Roles and Users  for Applications in Outsystems default users website?
Application Type
Traditional Web, Mobile, Reactive, Service

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:-

image 


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!!

2025-01-12 10-53-58
MatheusLima
Solution

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. 

:)

2025-02-04 10-17-42
Shreelakshmi N S
Champion
Solution

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 

2025-10-16 10-02-51
Sohel Khan

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.

2025-02-04 10-17-42
Shreelakshmi N S
Champion

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?

Regards,

Shree

2025-10-16 10-02-51
Sohel Khan

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. 

2025-01-12 10-53-58
MatheusLima


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)




2025-10-16 10-02-51
Sohel Khan

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. 

2025-01-12 10-53-58
MatheusLima
Solution

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. 

:)

2025-02-04 10-17-42
Shreelakshmi N S
Champion
Solution

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 

2025-10-16 10-02-51
Sohel Khan
2025-10-16 10-02-51
Sohel Khan
2025-02-04 10-17-42
Shreelakshmi N S
Champion

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.

Regards,

Shree

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