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:

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Published 12 hours ago in Confluence

Think you know shares vs. @mentions in Confluence? Take this collab quiz.

To anyone who doubts that Atlassians are a little too obsessed with collaboration, and tools related thereto, let me describe a recent discussion we had (which took place on our internal Confluence, ...

95 views 2 4
Read article

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