How can I lock user accounts in Confluence?

Morning,

Is it possible to create user accounts that automatically lock the user out if they don't login for a certain amount of time? For example, after a month or three months etc?

Cheers.

1 answer

Hi Mick.

I don't know an easy way to do that in the interface, and the last autentication date is not available through the API.

The only way I can think of do that is to write an script which connect to the DB and check all AttributeName='lastAuthenticated' in the table cwd_user_attribute, and then deactivate the users which haven't logged in for the specified time. I recommendo you to do the user deactivation through the API rather than directly on DB.

Alex,

thanks. I'll pass the idea on to the tech team and see what they think.

Cheers,

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
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

370 views 20 10
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