Which of the following represent correct syntax to display first name from global variable user?

QuestionsCategory: CERTIFIED PLATFORM APP BUILDERWhich of the following represent correct syntax to display first name from global variable user?
Admin Staff asked 5 months ago
Which of the following represent correct syntax to display first name from global variable user?

A. {User.FirstName}

B. $User.FirstName

C. {!User.FirstName}

D. {!$User.FirstName}








 

Suggested Answer: B

Community Answer: D

Visualforce pages use the same expression language as formulas ג€" that is, anything inside {! } is evaluated as an expression that can access values from records that are currently in context.

This question is in Certified Platform App Builder Exam
For getting Certified Platform App Builder










Disclaimers:
The website is not related to, affiliated with, endorsed or authorized by Salesforce. 
Trademarks, certification & product names are used for reference only and belong to Salesforce.
The website does not contain actual questions and answers from Salesforce's Certification Exams.

Next Post

Recommended

Welcome Back!

Login to your account below

Create New Account!

Fill the forms below to register

Retrieve your password

Please enter your username or email address to reset your password.