function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
onionsouponionsoup 

Database.com : Filter data by user

Hi,

 

Is it possible to filter data by user at API level? Something like Virtual Database. For instance, database.com would guarantee that each user only sees data created by himself. I'm asking this cause I want to do something like Oracle's VPD... or multitenant database.

 

Regards

Joao

AdminBoosterAdminBooster

Hi,

 

If you define the visibility to "private" for your custom objects, each user will see only his own data, provided that the API access is beeing an identified user, not a generic technical user.

 

Regards,

JL