Sam23 Posted June 29, 2021 Report Share Posted June 29, 2021 When a user logs into the app, is is possible to capture the user role if that data is in the users table? Thanks, Sam Quote Link to comment Share on other sites More sharing options...
1 GoodBoy Posted June 29, 2021 Report Share Posted June 29, 2021 Hi, This is a sample configuration to achieve that in a Results page. Same process can be applied to Details page as well. eunha 1 Quote Link to comment Share on other sites More sharing options...
0 kpcollier Posted June 29, 2021 Report Share Posted June 29, 2021 Are you trying to save this value in a table, or are you trying to use it as a parameter or something? Are you trying to keep track of the user roles on login? Quote Link to comment Share on other sites More sharing options...
0 Meekeee Posted June 29, 2021 Report Share Posted June 29, 2021 Hi @Sam23, If you want to get your user's information upon login, you can use Authentication Field for receiving and using it in your DataPage. You may check these articles:https://howto.caspio.com/authentications-and-connections/authentication/stamp-a-record-with-user-profile-data/https://howto.caspio.com/parameters/parameter-types/ I hope this helps Quote Link to comment Share on other sites More sharing options...
0 Sam23 Posted July 1, 2021 Author Report Share Posted July 1, 2021 Thanks, all! The last answer by GoodBoy was what I needed. I was already using RLS to limit records to a particular group using the app, but then needed to further refine the privileges within that group to those who could view only vs edit, etc. The answer is simple: put an authorization level in the user table and use a virtual field to capture that role or level and show or hide what I need to from there. Thanks, Sam Quote Link to comment Share on other sites More sharing options...
Question
Sam23
When a user logs into the app, is is possible to capture the user role if that data is in the users table?
Thanks,
Sam
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.