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
roysmith601.3493067652527424E1roysmith601.3493067652527424E1 

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

 

 

Hi,
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.
thanks

MagulanDuraipandianMagulanDuraipandian

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.

 

Regards,

Magulan D

Salesforce.com certified Force.com Developer.

 

SFDC Blog

 

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