How do I access security role in cloudkit

后端 未结 1 788
别跟我提以往
别跟我提以往 2021-01-24 18:41

I am building an app with Role based Security. I have built my Record Types (Projects, Accounts, HistoryLog, Financial, Customer, etc) in Cloudkit Dashboard, and I have created

相关标签:
1条回答
  • 2021-01-24 18:53

    Currently it is not possible to get the roles a user is in. At the moment the information that is returned from the discoverUserInfoWithUserRecordID is very limited. I also hope it will be extended soon. Currently you only get a userRecordID, first name and last name. If you do want such functionality, then the only solution is creating a shadow registration which you could query. You then would have a challenge keeping these 2 in sync. That has to be done manually.

    0 讨论(0)
提交回复
热议问题