Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

directory order sequence for multiple directories


I found one article about multiple directories in confluence as provided below.

How to decide it's order, does it by which field for order sequence? Which one is the first order ?





Ann demo@test (test demo user)



Ann demo@test (test demo user)



Ann demo@test (test demo user)



Ann demo@test (test demo user)



Ann demo@test (test demo user)


1 comment

I'd say the page you linked contains everything important, namely:

The directory order is significant during the authentication of the user, in cases where the same user exists in multiple directories. When a user attempts to log in, the application will search the directories in the order specified, and will use the credentials (password) of the first occurrence of the user to validate the login attempt.

So in a nutshell, if a username is trying to log in, the first directory where this username exists will be taken and password validated against it.

If you have multiple users of same username in Confluence, then only the first one (again, top to bottom) will be usable and the other ones will not be available unless directory order changes - and you do not want to usually change directory order, without a specific reason or preparation because it will switch accounts for people that may exist in multiple directories.

Ideally, you want a username to only exist once in one directory, in which case the order won't matter a whole lot, but since authentication is done top to bottom your primary directory should be on top.


I also need to note that some integrations / automations / API calls which handle creation of users will create the user in top-most directory. You can specify the directory when creating a user manually, but a lot of API calls don't care and will just create the user in the first one and call it a day (which may also be a factor in deciding which directory should come first in order).

@Radek Dostál 

Thanks a lot. Which field in confluence database is order accordance? 


Log in or Sign up to comment

Atlassian Community Events