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
venkat,pattapuvenkat,pattapu 

100 users are having same profile which has read and write permission for account. I want to remove write permission from 2 users having this profile.

nagalakshminagalakshmi
Hi,

Give read permission through profile. So that 100 users will get read access. Create one permission set with Write permission on Account and assign this permission set to all users(98 users). So that the 98 users will get write access and these 2 user will have read access. 
buggs sfdcbuggs sfdc
1.Go to the Profile and Disable Write permission.
2.Create a permission set and add the 98 users to that particular permission set with permission Read and write on Account object.

if it helps you,Please mark it as correct answer.
venkat,pattapuvenkat,pattapu
if i have 1000 users in  same profile it is to diffucult to add permission sets to those 1000. so i dont use that,please recommend any other solutions.
 
SAHANA GHOSHSAHANA GHOSH
Hi,

Did you get a solution to this problem ? I am stuck with the same issue. 

Thanks,
Sahana
SAHANA GHOSHSAHANA GHOSH

Hi Venkat, 

You can try this Validation Rule if the user is not allowed to edit records - 
AND( 
NOT(ISNEW()), 
$User.Id = "0052v00000UhkGk" 
)

AND this one if the user must'nt have permission to create records  -

ISNEW()&& $User.Id = "0052v00000UhkGk"


Thanks,

Sahana