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

Help: “New” Button on account object should check user profile when user try to create new account



I have a requirment that when user try to create account with “New” button then the system should only check user profile and if the user profile = Administrator then it only let admin to create new account otherwise it should throw a error that “you don’t hacve permission”

I am confused that how I am going to solve this requirment.

please help me because i am new to salesforce.


Go to setup -- > Administration Setup --> Manage Users -> Profiles.


Give 'Create' access for Administrator for account in Standard objects.

Deny 'Create' access for all other profiles.



Magulan D certified Developer.




If this post is your solution, kindly mark this as the solution.