How to get user info into in visualforce / salesforce -


i'm trying user email salesforce visualforce. here form, i'm new salesforce, please forget me missing information.

i'd know if salesforce has public class user email, firstname , etc

<apex:page standardcontroller="acctseed__cash_disbursement_batch__c">    <form id="myform" method="post">               <input type="hidden" id="checkbook_var"                  userfirtname="{!xxname}"                 userlastname="{!xxname}"                 user-email ='{!xxemail}' />               <script src="some.js" class="checkbook-button" id="api_js">               </script>     </form>         </apex:page> 

you looking built-in "user" object. https://developer.salesforce.com/docs/atlas.en-us.200.0.pages.meta/pages/pages_variables_global_user.htm

 userfirtname={!$user.firstname}  userlastname={!$user.lastname}  user-email ={!$user.email} 

Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -