Find user by Resource identifier

Hello, i get the content of a confluence page by the REST-Api. Now there is a link to a user like this:

<ac:link><ri:user ri:userkey="ff8080813fbbab90013fbbac8f580027" /></ac:link>

Now is the question: How can i get the user of this userkey there? In the confluence-documentation is described how to get the user by a key(username) or a full name:
https://developer.atlassian.com/static/rest/confluence/5.0.3.html#d2e304

How can i get the user by this ri:userkey?

1 answer

This widget could not be displayed.
Ann Worley Atlassian Team Aug 05, 2014

You can find the user with the folllowing SQL query:

select lower_username from user_mapping where user_key='ff8080813fbbab90013fbbac8f580027';

And what if I don't have an access to the database, I have only REST access.

Guys? Any thoughts here?

Hi smile any information about this ?

 

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

484 views 6 6
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you