Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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
4,411,722
Community Members
 
Community Events
169
Community Groups

directory order sequence for multiple directories

Hi, 

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

https://confluence.atlassian.com/doc/managing-multiple-directories-229838494.html

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

id

Display_name

Directory_id

1

Ann demo@test (test demo user)

87162816

2

Ann demo@test (test demo user)

72891886

3

Ann demo@test (test demo user)

21396409

4

Ann demo@test (test demo user)

78195531

5

Ann demo@test (test demo user)

708919001

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? 

Comment

Log in or Sign up to comment
TAGS

Atlassian Community Events