+ Start a Discussion
sfdctrrsfdctrr 

How to Restrict the visibility of records in Authenticated website

Hi Folks,

 

I have created a Authenticated website and now when user login to the site he should be able to view/edit//delete only the child records of his account to which he belongs to.

 

For e.g. Consider, 2 users(U1 and U2) with same profile, role but with 2 differnent accounts.

 

First Account: FA1 and Child Records:FCA1.1,FCA1.2
Second Account: FA2 and Child Records:FCA2.1,FCA2.2

 

User U1 belongs to account FA1
User U2 belongs to account FA2

 

Now when user U1 login to site he should be able to view/edit//delete only the child records of his account(FA1).
Now when user U2 login to site he should be able to view/edit//delete only the child records of his account(FA2).

 

Any help Appreciated.

 

Thanks in advance.

 

SFDC

Santhosh KumarSanthosh Kumar

Not sure of how many child entities you talking about here, one option is to create that child entity to Account as Master/Detail child so that Account visibility is automatically extended to its detail children.

 

If that is not an option, you can try with programmatic shares.