Wednesday, 20 July 2016

Salesforce Interview Questions on Profiles,Permission Set,Users,OWD,Roles and Sharing Rules



1.What is Profile?
ANS: Profile contains a set of permissions and access settings that control what users can do within the organization.

2. What are the permission sets?
ANS: A set of permissions is given to the users without changing the profile.

3.What is OWD?
ANS: OWD'S are baseline record-level security for objects in the organization.
It is used to restrict access to data.

4.What are Roles?
ANS: A role controls the level of visibility that users have to an organization's data.

5.What is the User?
ANS: The people who have an authenticated username and password to login to the salesforce successfully.

6.What is Sharing Rules?
ANS: These are used to override the OWD permissions.
Sharing rules are two types
1.Based on record owner
2.Based on criteria.

7.What is the role hierarchy?
ANS: Role Hierarchy states that a higher hierarchy person can see lower hierarchy person records.

8.Can you override profile permissions with permission sets(i have defined some permissions in the profile, I am trying to use permission sets for the same object, can I override permissions for a particular object in the permission sets over to the profile?
ANS: No. Permission Sets are used only to extend the Profile permissions. It never overrides.

9. I want to have read/write permission for User 1 and read-only for User 2, how can you achieve?
ANS: Create a Permission Set with read/write and assign it to User 1.

10. I have an OWD which is read-only, how all can access my data and I want to give read-write access for a particular record to them, how can I do that?
ANS: All users can just Read the record.
Create a Sharing Rule to give Read/Write access with "Based on the criteria" Sharing Rules.

11.What is the difference between role hierarchy and sharing rules? will both do the same permissions?
ANS: Role Hierarchy states that a higher hierarchy person can see lower hierarchy person records.
Sharing Rule is used to extending the Role Hierarchy.

12. Is it possible to delete the user in salesforce?
ANS: No, once we create a user in salesforce we cannot delete the user record. We can only deactivate the user record.

13.How to provide security for Meta-Data files (Schema)?
ANS: Using Profiles and Permission Sets.

13. How to give permissions to two fields for different users who belong to different profiles?
ANS: Permission set

14. How many users are there in your project salesforce instance?
ANS:1000 (It will depend upon the number of licenses taken by the client, it will be like up to 4000 like that based on the client)

15.What is Grant Access Using Hierarchies?
ANS: In OWD we have Private but your higher position persons should see that time we go for Grant Access Using Hierarchies.

16. How we can change the Grant access using role hierarchy for standard objects?
ANS: Not possible.

17.What is manual sharing?
ANS: Manual sharing is to share a record to a particular user manually.
Go to the detail page of the record and click on the manual sharing button and assign that record to other users with Read or Read/Write access.
Manual Sharing button enables only when OWD is private to that object.

18. The difference between Profile and Roles?
ANS: Profiles are used for Object-level access settings.
Roles are used for Record level access settings.

No comments:

Post a Comment

Tools for Lightning Web Component Development

 Below are the tools required for Web Component Development 1. Chrome Browser (Prefered) You can download it from Google 2. Visual Studio Co...