roles and access screen permission
Hello everyone, I am developing an app with outsystems that allows access to certain screens depending on two roles that I have already created

What should I do so that after the user logs in, due to the role that has fence to home or home2.
Thanks for all =)

Now is perfect, is using, a data action, where when the User does the login, he checks which role has the user, and he redirects to a screen depending on the role :)

Enjoy, anything says, check if it's the solution you are trying to find.


Data Action


Checking role with the data action on the login action.

Kind Regards,

Márcio C.

checkrole.oml

Check if the user has that role with its userid, and then retrieve if it has or not, and check to which place he goes

@Marcio Carvalho thank you for you answer, but, I don't know where or how to do that 

I did on reactive, but you can do (copy/paste) the same logic on mobile, no worries

Now is perfect, is using, a data action, where when the User does the login, he checks which role has the user, and he redirects to a screen depending on the role :)

Enjoy, anything says, check if it's the solution you are trying to find.


Data Action


Checking role with the data action on the login action.

Kind Regards,

Márcio C.

checkrole.oml

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