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 votes
Answer accepted

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
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

273 views 2 10
Read article

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