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

[Crowd client] how to get list crowd user include password field value?

Hi guys,

 

I am using Crowd client java library. Now I need to import users from Crowd server to other application.

But when I get list of user by using searchUsers function, it return a list of user without password.

Is there any way to get list of user include password field?

 

Thanks in advance.

1 answer

1 accepted

0 votes
Answer accepted
Bruno Vincent Community Leader Dec 21, 2017

Hi @tai nguyen

As far as I know, no you can't, at least with the usual API. If you actually try to retrieve the password hash with Crowd REST API with a simple GET on

http://localhost:8095/crowd/rest/usermanagement/1/user/password?username=test

You will get a 405 response code (Method not allowed). The password field is actually write-only here.

The only way I see to get the password hash of your users is to go to Crowd's console > General > Backup. This will export everything in Crowd's database including your users passwords hashes (if we're talking about an internal directory, you could obviously not get them for remote directories).

I got it.

Thank you so much for the answer.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

We want to hear from you! How do you use Slack and Atlassian together?

Hi Everyone! My name is Mina and I am on Atlassian’s Ecosystems Marketing team. Our team is focused on our technology partnerships and marketplace apps. One of Atlassian’s partners is Slack, who ...

106 views 1 6
Join discussion

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