user and user roles


Hi Everyone, working on creating users and dynamically assigning them roles.

facing an issue with the user list since these role mentioned under-

usermanager

Super user 

admin 

 are not in my users list yet they are getting displayed with usernames as admin 

any leads would be appreciated


Hi Saif,

Try by adding below filter in your aggregate this will return only the roles associated with the espace

Role.Espace_Id = GetEntryEspaceId()

Don't you have these roles (Usermanager/Superuser/Admin) in some other module? Considering the tables in your aggregate, it seems to be returning all types of roles from all over your environment - since you are not filtering only by the roles of this particular module/application.

mvp_badge
MVP

UserManager/SUperuser/Admin roles are roles provided by the OutSystems platform

Hi Saif,

Try by adding below filter in your aggregate this will return only the roles associated with the espace

Role.Espace_Id = GetEntryEspaceId()

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