You need to sign in to do that
Don't have an account?
moin shaik 8
Hi i have two users a and b for both same controller and same VF page have some 1 to 10 section and i want render section 6 to the user A and not visible to user b.When user A logged in visble section 6 as "solution ".I want code for controller and vf cod
Hi i have two users a and b for both same controller and same VF page have some 1 to 10 section and i want render section 6 to the user A and not visible to user b.When user A logged in visble section 6 as "solution ".I want code for controller and vf cod
- Record types allow you to offer different business processes, picklist values, fields and page layouts to different users based on their profiles.
Please refer the below links for reference.- https://help.salesforce.com/articleView?id=creating_record_types.htm&type=0
- https://success.salesforce.com/answers?id=90630000000h0RaAAI
- http://resources.docs.salesforce.com/206/13/en-us/sfdc/pdf/salesforce_busprocess_cheatsheet.pdf
I hope it will be helpful.Please mark it as best answer if the information is informative.
BestRegards
RahulKumar
Here is a sample piece of code.
I would suggest you to use the Profile name rather than the user name to achieve this. Because if you have more users with same profiles, they will have same access level.
You can use the rendered variable like below.
To use profile, To use UserName,
Hope this helps.