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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Get user email using REST API

Hi All,

I am building a webform and have auto authentication using CROWD once authenticated I need to get that users email. Can someone point me towards the right direction on how would I go getting users email.

Thank you.

1 answer

1 vote
Mallmann Atlassian Team Oct 11, 2017

Hi, Andrej.

You should be able to retrieve the user details by running a get call against this URL:

http://YOUR-CROWD-SERVER:8095/crowd/rest/usermanagement/1/user?username=USERNAME

To authenticate the call you need to use the Crowd application name and its password, not your user's credentials.

Depending on the version of Crowd you're using, you can retrieve this info from the <crowd-home>/crowd.properties file:

application.name

application.password

Note that this will not retrieve only the e-mail address, but you should be able to parse the results (even with a grep in a Unix terminal) and filter only the email address. :)

I hope it helps, let me know if you have any questions.

- Mallmann

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Trello

📹 Favorite Trello templates

Hello Community!  My name is Brittany Joiner and I am a Trello enthusiast and Atlassian Community Leader. In this video, I'll share my favorite Trello templates. Templates mentioned in ...

75 views 4 5
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