Author: phaneendraarigachetta

Salesforce IDs and URL Tricks and Tips

Salesforce IDs Tricks: Get the current User ID in an Apex. String userId = UserInfo.getUserId();System.debug(‘userId: ‘+userId); Get the Salesforce Org ID in Apex without query. String OrgId = UserInfo.getOrganizationId();System.debug(‘OrgId: ‘+OrgId);

Read More »
Select Language »