function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SergeantAgniSergeantAgni 

Are Sforce IDs unique only within a particular user account?

My assumption from reading the SForce API documentation is that the IDs for the various SObjects are unique only within that SF account.  So a campaign ID from my account might be the same as a campaign ID for a campaign from some other SF account.

Is this correct?

 

DevAngelDevAngel

Hi SergeantAgni,

Ids are globally unique.  They are constructed based on the user context and part of that includes the organization to which the user belongs.

Cheers