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
santosh kumar 864santosh kumar 864 

Object Security

Two users(user1 & user2) have same profile. There is an object 'Laptops'.
User1 have access to object.
User2 not to have access to object. Is it possible?

OWD - Private
Profile - C, R, E, D for object
There is no role hirerachy setup
VinayVinay (Salesforce Developers) 
Hi Santosh,

No it wont be possible if you have access on same profile, however you can remove acess for laptops object on profile level and enable permission via permission set and assign it to user1 so that user1 can have access and user2 doesn't have access.

Please mark as Best Answer if above information was helpful.

Thanks,
santosh kumar 864santosh kumar 864
HI Vinay,

Thanks for your reply.

I tried in this way, but in this way both users are not getting access to Object
VinayVinay (Salesforce Developers) 
Did you assign permission set by enabling access to laptops object? Can you re-check permissions for object on both profile and permission set.

Thank,