Without using LDAP, add every new user to a named group?

How would I automatically add every new user into a particular group? (Confluence 5.3.x)

In 3.5 I could add an authenticator (https://confluence.atlassian.com/display/CONF34/Automatically+Add+LDAP+users+to+the+confluence-users+Group)

Not this is not to add to confluence-users, but rather a different group.

Thanks,

M.

1 answer

Hi Martin,

You could use the Confluence CLI:

https://marketplace.atlassian.com/plugins/org.swift.confluence.cli

There is a method you can call to addusertogroup:

https://bobswift.atlassian.net/wiki/display/CSOAP/Documentation#Documentation-addUserToGroup

You'd need a way to trigger this job to run when a user logs in for the first time. This most likely would take a trigger on the database, possibly on the logininfo table. Any time a user logs in for the first time it should be recorded there.

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
Asked May 24, 2018 in Confluence

What are the resources that you use to learn more about Atlassian Products?

I am gathering information about resources available for Atlassian product knowledge transferring for a presentation in our local Atlassian User Group. I want to group them in four categories From ...

603 views 18 16
View question

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