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

How to get user details giver user ID

I'm writing a Confluence plugin and I need to get user full name given user ID. I found `UserAccessor` interface, but whenever I try to use it in my components I get `NoSuchBeanDefinitionException`:

```

Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.atlassian.confluence.user.UserAccessor' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}

```

I saw similar question raised before, but I couldn't find any clear resolution. Should I be using some other bean to get user details from?

1 answer

0 votes

Hi Igor,

Thank you for contacting us about this! My recommendation for this type of question would be to raise it with the Atlassian Developer Community. That community is more folks who are familiar with this process, whereas this community is more end-users who do not have as much experience with developing for Atlassian apps.

Let me know if you have any trouble!

Regards,

Shannon 

Thanks, will post it there!

Like Shannon_Spaniol likes this

You're welcome, Igor!

Take care,

Shannon

Suggest an answer

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

How is your team having fun and bonding, remotely, utilizing Confluence?

Thanks everyone for answering last week’s question. The winner of the random drawing from those who commented is: @LarryBrock I’ll contact you separately with your prize details. This wee...

283 views 9 7
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