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
Post a Comment