How to get Salesforce organization id using apex?

Sample Code:

Id OrgId = UserInfo.getOrganizationId();

Cheers!!!

No comments:

Post a Comment