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

1 vote
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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

864 views 23 12
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