You need to sign in to do that
Don't have an account?

VF Help: Restrict users (non-record owners) to see all details in the record. How?
Hi Experts,
I am pretty newb with VF. I need some assistance with codes. How can I prevent the users (non-record owners) to see all details in the record. Ie. If the running user is not the owner of the record, he/she should only see the Company Name and Owner field on Leads.
Thank you.
I am pretty newb with VF. I need some assistance with codes. How can I prevent the users (non-record owners) to see all details in the record. Ie. If the running user is not the owner of the record, he/she should only see the Company Name and Owner field on Leads.
Thank you.
You can restrict individual fields from view per profile by going to the specific fields and selecting Set Field-Level Security.
https://help.salesforce.com/HTViewHelpDoc?id=admin_fls.htm
Based on record owner.
Please refer below post.
http://salesforce.stackexchange.com/questions/4520/can-you-limit-the-visibility-of-fields-based-on-record-ownership
Hope this helps you!
If this helps you mark it as solved.
Thanks and Regards
Sandhya