Hey! Basically, I am trying to create new users in my app and I can create them but it always sets the role to "Admin" and I don´t want that. How can I change that? And after that, if I want to delete the user, I cant delete it, I dont know why
In the picture I show how I creat a user
Hi Goncalo,
Are you creating User from User application or from custom application?
Do you have the user roles created in your application? If not you can see below documentation:
https://success.outsystems.com/Documentation/11/Developing_an_Application/Secure_the_Application/User_Roles/Create_and_Use_Roles
Thanks :)
Hey! I saw that. My problem is that I create a user and no matter If I change the role in Cimbi Box, it sets me the role as admin. And, after that, I cant delete the userAnd I am using the User from outsystems
Could you please share a sample OML so that I can look into it?
Normally the issue here is the bonded local variable to the combobox/dropdown not properly referenced/used during the saving process.
Hope this helps.
Thank you and kind regards,
Chris
HI Gonçalo
Please provide more detailed information, Such as the screenshot of the action you create user,and what parameter you passed.
Kind Regards
Check below post for granting role and deleting end-user from the application.
https://www.outsystems.com/forums/discussion/49119/delete-end-users/https://www.outsystems.com/forums/discussion/34082/grant-roles-in-an-application-mobile-app/
Also debug and check the value you are getting from role combo box, probably you are getting the value that is specific to admin role and your code is redirecting it to grantAdminrole().Hope it helps..