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
ChinnoduChinnodu 

User can't see the case comments related list on detail page

Hi Experts ,

This is my requirement, i have 5 users, these users have same profile and same role, but i want only one user can't able to see the related list case comments on detal page , how i can achive this ,kindly do the needful.

thanks.
chinnodu
GAURAV CHOPRAGAURAV CHOPRA
Salesforce works on the princile of granting the access not restricting. This cannot be achieved if the users are of the same profile as we cannot have different Page layouts for users with same profiles. 
GauravGargGauravGarg
Case comment is child object of case if user have permission on case object it will automatically dervice to case comments. 

So, if you only want to restrict a single user to view case comment related list, create a vf page for case comment and hide it for particular list of user. s