Hello!
I am using GetUsers aggregate to get all the users of the app, however I am getting all the environment users including those not related to the current app. Any idea why this is happening?
Hey @Helga Afonso ,
Please have a look at this post; it seems to cover the same issue you're facing: How to fetch application specific users from System users table?
Hi @Helga Afonso
In system User Table we have attribute called "External Id"..so you can use that attribute by:
1.while saving your Users in that app,you can save GetOwnerEspaceIdentifier() in External Id.
2.By doing filter "ExternalId<>null".you can retrieve that Users.
Hope it helps.
Thanks
Karnika
Hi,
Users are NOT assigned to Apps in OutSystems 11.
Instead, users are assigned roles, either directly, or indirectly via User groups.
You need to join the system entity User_Effective_Role (which is a database view over the user group role and user role entities), to filter on the roles that you have defined in your application module(s).
Regards,
Daniel