Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How do I remove users from a Delegated Directory?

I use Crowd for permission control on my Atlassian suite.  I have an internal directory for this purpose, and then I have a link to AD for a delegated authentication directory.

The problem I have is that users have tried to log into our suite without having an account to grant them permissions on the internal directory, and it has automatically created an account in the delegated directory.  This has pushed me above the available license allowance, so I had to apply a new eval license in order to keep operating.

I have since found how to turn off auto-user creation, but how do I remove users from this delegated directory's cache?

1 answer

1 accepted

0 votes
Answer accepted

The extra users in the delegated directory need to be deleted.  The User ID is in the cwd_user table, and will only have a single user entry to the delegated directory.

Get your directory list:

select id,directory_name,directory_type from cwd_directory;

Then get your user ID list.

select id,lower_user_name,directory_id from cwd_user order by lower_user_name;

Remove the user attributes, then the user that is only has one entry in the delegated directory.  In this case, one of mine in the directory was 2392106:

crowddb=> delete from cwd_user_attribute where user_id = 2392106;
crowddb=> delete from cwd_user where id = 2392106;

 Then from Settings -> Licensing, recalculate the user total.


As I understood user attributes is extra to remove. Did you meet with problem after ?

Suggest an answer

Log in or Sign up to answer
Community showcase

The benefits of using Jira in different departments

Jira is a great tool to use across different departments. Forget that paperwork – switch to Jira and get that tasks done smoothly. Marketing Jira allows for a complete digital transformation of you...

108 views 0 7
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you