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

New Account record creation restrict to specific profiles?

I am new to salesforce and i have requirment that only current profiles can crate new account record. Example; If i have profile = Test and i want to create new Account on account object then if test profile dont have permission to create new Account then as soon i try to click to "New" button then massage should dsiplay that " you dont have permission to create new account record".
but if i have profile = Admin then becasue admin have permission to create account then he/she should be able to create new account.
I am not sure that how can i fulfill this requrment or what steps should i need to take.
please help me