Jump to content
  • 0

capture user role at login


Sam23

Question

4 answers to this question

Recommended Posts

  • 0

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 :)

 

Link to comment
Share on other sites

  • 0

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

Link to comment
Share on other sites

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.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...