Global Uniqueness of User Keys

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

0 vote

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)

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

372 views 20 10
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you