The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Global Uniqueness of User Keys

Stephen Rollins
August 4, 2014

With the release of Confluene 5.2, the unique identifier for a user was changed from their username to a user key to facilitate user renaming. I want to know how unique this new user key is. If I am writing an Atlassian Connect plugin that will be run on several Atlassian servers, can I trust these user keys to be globally unique? In other words, if I store all of the user keys in the same table in our database regardless of which Atlassian server the user comes from, will user keys alone be enough to guarantee uniqueness for the primary key of the table?

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
August 4, 2014

No. I've recently used an existing working system to duplicate an account in a more broken system. IT worked perfectly, so I very much down youcan rely on two Confluence servers never replicating a user id (especially if it's the same user login details initially)

TAGS
AUG Leaders

Atlassian Community Events