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

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

script to create confluence users userAccessor.createUser

Hi Atlassian Community, 

We are trying to bulk import users in our confluence 7.4

We wanted to use a known method:

{code}

UserAccessor userAccessor = ComponentLocator.getComponent(UserAccessor)

ConfluenceUser createUser = userAccessor.createUser(username,dispname, email, password);

{code}

However it seems userAccessor.createUser has been deprecated from confluence 7.0

https://confluence.atlassian.com/doc/deprecated-code-paths-removed-in-7-0-967879993.html

Any workarounds of how to bulk create users in confluence 7?

Thanks in advance, 

Oksana

0 answers

Suggest an answer

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

Confluence Mythbusters: Does Atlassian even use Confluence?

Hi, Confluence collaborators! As part of #Confluence-Collaboratory month, we’ve created a very special Mythsbusters segment, where we're dive into an interesting myth and uncover the truth behind i...

1,496 views 7 29
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