No, the Person ID numbers are only unique within each container. From
http://code.google.com/apis/opensocial/docs/0.7/spec.html:
"One of the pieces of data that is always returned with a Person object is
the user's ID. The user ID must be alphanumeric (A-Za-z0-9) and must
uniquely identify the user in a container. This standardization is intended
to allow for prefixing IDs with a domain name and separator to create
globally unique IDs (e.g. "orkut.com:34KJDCSKJN2HHF0DW20394"). Note that
there will likely be a size limit placed on user IDs to help manage storing
IDs in a database."
Hope this helps,
~Arne
On Tue, Apr 29, 2008 at 10:49 AM, Sav <sava...@gmail.com> wrote:
Are the Person IDs unique or are they only unique within the
Environment domain?
opensocial.Person.getId()
Gets an ID that can be permanently associated with this person.
opensocial.Environment.getDomain()
Returns the current domain — for example, "orkut.com" or
"myspace.com".