You need to sign in to do that
Don't have an account?
sfdcdev.ax551
UserInfo.getOrganizationId() does not return SFDC Organization ID
How can I get the Salesforce.com Organization ID that is populated in the Company Profile page from Apex?
I tried UserInfo.getOrganizationId(), but that return the ID of the company profile page which is different from the Salesforce.com Organization ID "field" that we see on the COmpany Profile page.
Any help is greatly appreciated.
Thanks
Hi ,
I am using the below code and getting expected result
Please make sure you have proper version of the API in the controller.
Thanks,
Dinesh Nasipuri
Dinesh.Nasipuri@gmail.com