Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Certified Sharing and Visibility Designer All Questions

View all questions & answers for the Certified Sharing and Visibility Designer exam

Exam Certified Sharing and Visibility Designer topic 1 question 1 discussion

Actual exam question from Salesforce's Certified Sharing and Visibility Designer
Question #: 1
Topic #: 1
[All Certified Sharing and Visibility Designer Questions]

DreamHouse Realty has the following requirements:
A Visualforce controller that needs to be written with “Without Sharing” at the top level.
Specific methods within the page need to enforce the user permissions for creating records and accessing certain fields.
An Architect needs to ensure this requirement is enforced.
Which two methods will be used to achieve this goal? (Choose two.)

  • A. UserInfo.getProfileID
  • B. Schema.DescribeSObjectResult
  • C. Schema.DescribeFieldResult
  • D. Schema.getGlobalDescribe
Show Suggested Answer Hide Answer
Suggested Answer: BC 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
92b6348
3 months, 1 week ago
Shouldn’t it be A &C ? Why other options are not suitable: B. Schema.DescribeSObjectResult: While this method provides information about the object structure, it doesn't directly help in determining user permissions for specific fields. D. Schema.getGlobalDescribe: This method returns a map of all sObjects in the organization, which is not relevant to the specific requirement of checking user permissions for creating records and accessing fields.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...